home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
100%
| dexvert
| Texinfo Document (document/texInfo)
| magic
| Supported |
1%
| dexvert
| WANG Integrated Word Processor (document/wangIWP)
| ext
| Unsupported |
1%
| dexvert
| Excellence! Document (document/excellenceDocument)
| ext
| Unsupported |
1%
| dexvert
| Norton Textra Writer (document/textraWriter)
| ext
| Unsupported |
1%
| dexvert
| IBM DisplayWrite Document (document/ibmDisplayWriteDocument)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| TeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 54 68 69 73 20 69 | 73 20 50 52 4f 47 44 4f |% This i|s PROGDO|
|00000010| 43 2e 44 4f 43 20 20 20 | 20 20 20 20 20 20 20 20 |C.DOC | |
|00000020| 20 20 20 20 20 20 20 20 | 20 20 61 73 20 6f 66 20 | | as of |
|00000030| 30 35 20 44 65 63 20 38 | 38 0a 25 2d 2d 2d 2d 2d |05 Dec 8|8.%-----|
|00000040| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000050| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000060| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000070| 2d 2d 2d 2d 0a 25 20 28 | 63 29 20 31 39 38 38 20 |----.% (|c) 1988 |
|00000080| 62 79 20 4a 2e 53 63 68 | 72 6f 64 2e 20 50 75 74 |by J.Sch|rod. Put|
|00000090| 20 69 6e 74 6f 20 74 68 | 65 20 70 75 62 6c 69 63 | into th|e public|
|000000a0| 20 64 6f 6d 61 69 6e 2e | 0a 0a 25 0a 25 20 4d 61 | domain.|..%.% Ma|
|000000b0| 63 72 6f 20 70 61 63 6b | 61 67 65 20 66 6f 72 20 |cro pack|age for |
|000000c0| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |the docu|mentatio|
|000000d0| 6e 20 6f 66 20 70 72 6f | 67 72 61 6d 73 20 28 61 |n of pro|grams (a|
|000000e0| 6e 64 20 54 65 58 20 6d | 61 63 72 6f 73 29 0a 25 |nd TeX m|acros).%|
|000000f0| 20 65 6e 67 6c 69 73 68 | 20 76 65 72 73 69 6f 6e | english| version|
|00000100| 0a 25 0a 0a 25 0a 25 20 | 66 69 72 73 74 20 76 65 |.%..%.% |first ve|
|00000110| 72 73 69 6f 6e 20 28 66 | 6f 72 20 66 74 70 2f 42 |rsion (f|or ftp/B|
|00000120| 69 74 6e 65 74 29 20 20 | 20 20 20 20 20 20 20 20 |itnet) | |
|00000130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000140| 20 20 20 20 20 20 20 20 | 20 28 38 38 2d 31 32 2d | | (88-12-|
|00000150| 30 35 29 0a 25 0a 0a 0a | 0a 25 20 64 6f 63 75 6d |05).%...|.% docum|
|00000160| 65 6e 74 65 64 20 77 69 | 74 68 20 69 74 73 65 6c |ented wi|th itsel|
|00000170| 66 2e 2e 2e 0a 5c 69 6e | 70 75 74 20 70 72 6f 67 |f....\in|put prog|
|00000180| 64 6f 63 0a 0a 0a 25 25 | 25 25 25 25 25 25 25 25 |doc...%%|%%%%%%%%|
|00000190| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000001a0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000001b0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000001c0| 25 25 25 0a 25 0a 25 20 | 6c 6f 63 61 6c 20 6d 61 |%%%.%.% |local ma|
|000001d0| 63 72 6f 73 0a 25 0a 0a | 5c 66 6f 6e 74 5c 6d 63 |cros.%..|\font\mc|
|000001e0| 3d 63 6d 72 39 20 20 20 | 20 20 20 20 20 20 20 20 |=cmr9 | |
|000001f0| 25 20 66 6f 72 20 6e 61 | 6d 65 73 20 6c 69 6b 65 |% for na|mes like|
|00000200| 20 41 53 43 49 49 0a 5c | 66 6f 6e 74 5c 73 63 3d | ASCII.\|font\sc=|
|00000210| 63 6d 63 73 63 31 30 20 | 20 20 20 20 20 20 20 25 |cmcsc10 | %|
|00000220| 20 63 61 70 73 20 61 6e | 64 20 73 6d 61 6c 6c 20 | caps an|d small |
|00000230| 63 61 70 73 20 31 30 70 | 74 0a 0a 5c 64 65 66 5c |caps 10p|t..\def\|
|00000240| 57 45 42 7b 7b 5c 74 74 | 20 57 45 42 5c 2f 7d 7d |WEB{{\tt| WEB\/}}|
|00000250| 0a 5c 64 65 66 5c 4c 61 | 54 65 58 7b 7b 5c 72 6d |.\def\La|TeX{{\rm|
|00000260| 20 4c 5c 6b 65 72 6e 2d | 2e 33 36 65 6d 5c 72 61 | L\kern-|.36em\ra|
|00000270| 69 73 65 2e 33 65 78 5c | 68 62 6f 78 7b 5c 73 63 |ise.3ex\|hbox{\sc|
|00000280| 20 61 7d 5c 6b 65 72 6e | 2d 2e 31 35 65 6d 5c 54 | a}\kern|-.15em\T|
|00000290| 65 58 7d 7d 0a 0a 25 0a | 25 25 25 25 25 25 25 25 |eX}}..%.|%%%%%%%%|
|000002a0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000002b0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000002c0| 25 25 25 25 25 25 25 25 | 25 25 25 25 25 25 25 25 |%%%%%%%%|%%%%%%%%|
|000002d0| 25 25 25 25 25 0a 0a 0a | 0a 0a 0a 5c 63 68 61 70 |%%%%%...|...\chap|
|000002e0| 20 49 6e 74 72 6f 64 75 | 63 74 69 6f 6e 2e 0a 0a | Introdu|ction...|
|000002f0| 5c 57 45 42 7b 7d 20 73 | 79 73 74 65 6d 73 20 61 |\WEB{} s|ystems a|
|00000300| 6c 6c 6f 77 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |llow the| documen|
|00000310| 74 61 74 69 6f 6e 20 6f | 66 20 70 72 6f 67 72 61 |tation o|f progra|
|00000320| 6d 73 20 62 79 20 73 75 | 70 70 6f 72 74 69 6e 67 |ms by su|pporting|
|00000330| 20 74 68 65 0a 73 65 70 | 61 72 61 74 69 6f 6e 20 | the.sep|aration |
|00000340| 69 6e 20 70 72 6f 67 72 | 61 6d 20 66 72 61 67 6d |in progr|am fragm|
|00000350| 65 6e 74 73 20 77 68 69 | 63 68 20 63 61 6e 20 62 |ents whi|ch can b|
|00000360| 65 20 63 6f 6c 6c 65 63 | 74 65 64 20 61 6e 64 20 |e collec|ted and |
|00000370| 72 65 61 72 72 61 6e 67 | 65 64 0a 61 66 74 65 72 |rearrang|ed.after|
|00000380| 77 61 72 64 73 2e 20 20 | 54 68 69 73 20 61 6c 6c |wards. |This all|
|00000390| 6f 77 73 20 7b 5c 69 74 | 20 74 6f 70 2d 64 6f 77 |ows {\it| top-dow|
|000003a0| 6e 5c 2f 7d 20 70 72 6f | 67 72 61 6d 6d 69 6e 67 |n\/} pro|gramming|
|000003b0| 20 61 73 20 77 65 6c 6c | 20 61 73 20 74 68 65 0a | as well| as the.|
|000003c0| 7b 5c 69 74 20 62 6f 74 | 74 6f 6d 2d 75 70 5c 2f |{\it bot|tom-up\/|
|000003d0| 7d 20 64 65 73 69 67 6e | 20 6f 66 20 70 72 6f 67 |} design| of prog|
|000003e0| 72 61 6d 73 2e 20 20 45 | 61 63 68 20 70 72 6f 67 |rams. E|ach prog|
|000003f0| 72 61 6d 20 66 72 61 67 | 6d 65 6e 74 20 63 61 6e |ram frag|ment can|
|00000400| 20 62 65 0a 64 6f 63 75 | 6d 65 6e 74 65 64 2c 20 | be.docu|mented, |
|00000410| 75 73 75 61 6c 6c 79 20 | 77 69 74 68 20 5c 54 65 |usually |with \Te|
|00000420| 58 7b 7d 2e 20 20 41 20 | 64 69 73 61 64 76 61 6e |X{}. A |disadvan|
|00000430| 74 61 64 67 65 20 69 73 | 20 74 68 61 74 20 5c 57 |tadge is| that \W|
|00000440| 45 42 7b 7d 0a 61 63 74 | 75 61 6c 6c 79 20 65 78 |EB{}.act|ually ex|
|00000450| 69 73 74 73 20 6f 6e 6c | 79 20 66 6f 72 20 61 20 |ists onl|y for a |
|00000460| 66 65 77 20 70 72 6f 67 | 72 61 6d 6d 69 6e 67 20 |few prog|ramming |
|00000470| 6c 61 6e 67 75 61 67 65 | 73 20 28 50 61 73 63 61 |language|s (Pasca|
|00000480| 6c 2c 20 43 2c 0a 4d 6f | 64 75 6c 61 2d 32 29 2e |l, C,.Mo|dula-2).|
|00000490| 20 20 42 65 73 69 64 65 | 73 2c 20 62 75 69 6c 64 | Beside|s, build|
|000004a0| 69 6e 67 20 75 70 20 5c | 57 45 42 7b 7d 20 73 79 |ing up \|WEB{} sy|
|000004b0| 73 74 65 6d 73 20 66 6f | 72 20 60 60 65 78 6f 74 |stems fo|r ``exot|
|000004c0| 69 63 27 27 0a 70 72 6f | 67 72 61 6d 6d 69 6e 67 |ic''.pro|gramming|
|000004d0| 20 6c 61 6e 67 75 61 67 | 65 73 20 6c 69 6b 65 20 | languag|es like |
|000004e0| 5c 54 65 58 7b 7d 20 69 | 73 20 76 65 72 79 20 64 |\TeX{} i|s very d|
|000004f0| 69 66 66 69 63 75 6c 74 | 2e 0a 0a 54 68 69 73 20 |ifficult|...This |
|00000500| 6d 61 63 72 6f 20 70 61 | 63 6b 61 67 65 20 77 61 |macro pa|ckage wa|
|00000510| 73 20 62 75 69 6c 74 20 | 74 6f 20 61 6c 6c 6f 77 |s built |to allow|
|00000520| 20 67 6f 6f 64 20 64 6f | 63 75 6d 65 6e 74 61 74 | good do|cumentat|
|00000530| 69 6f 6e 20 66 6f 72 20 | 70 72 6f 67 72 61 6d 73 |ion for |programs|
|00000540| 0a 69 6e 20 6c 61 6e 67 | 75 61 67 65 73 20 66 6f |.in lang|uages fo|
|00000550| 72 20 77 68 69 63 68 20 | 5c 57 45 42 7b 7d 20 64 |r which |\WEB{} d|
|00000560| 6f 65 73 6e 27 74 20 65 | 78 69 73 74 2e 20 20 49 |oesn't e|xist. I|
|00000570| 74 20 73 65 70 61 72 61 | 74 65 73 20 61 20 70 72 |t separa|tes a pr|
|00000580| 6f 67 72 61 6d 0a 74 65 | 78 74 20 69 6e 20 73 65 |ogram.te|xt in se|
|00000590| 63 74 69 6f 6e 73 20 74 | 68 61 74 20 63 61 6e 20 |ctions t|hat can |
|000005a0| 62 65 20 64 6f 63 75 6d | 65 6e 74 65 64 2e 20 20 |be docum|ented. |
|000005b0| 41 6c 6c 20 73 65 63 74 | 69 6f 6e 73 2c 20 63 6f |All sect|ions, co|
|000005c0| 6c 6c 65 63 74 65 64 0a | 73 65 71 75 65 6e 74 69 |llected.|sequenti|
|000005d0| 61 6c 6c 79 2c 20 77 69 | 6c 6c 20 72 65 73 75 6c |ally, wi|ll resul|
|000005e0| 74 20 69 6e 20 74 68 65 | 20 63 6f 6d 70 6c 65 74 |t in the| complet|
|000005f0| 65 20 70 72 6f 67 72 61 | 6d 2e 20 20 49 6e 20 65 |e progra|m. In e|
|00000600| 76 65 72 79 20 73 65 63 | 74 69 6f 6e 0a 62 65 67 |very sec|tion.beg|
|00000610| 69 6e 20 61 6e 64 20 65 | 6e 64 20 6f 66 20 74 68 |in and e|nd of th|
|00000620| 65 20 70 72 6f 67 72 61 | 6d 20 70 61 72 74 20 61 |e progra|m part a|
|00000630| 72 65 20 6d 61 72 6b 65 | 64 20 77 69 74 68 20 7c |re marke|d with ||
|00000640| 5c 62 65 67 69 6e 70 72 | 6f 67 7c 20 61 6e 64 0a |\beginpr|og| and.|
|00000650| 7c 5c 65 6e 64 70 72 6f | 67 7c 2c 20 74 68 69 73 ||\endpro|g|, this|
|00000660| 20 70 72 6f 67 72 61 6d | 20 70 61 72 74 20 77 69 | program| part wi|
|00000670| 6c 6c 20 62 65 20 66 6f | 72 6d 61 74 74 65 64 20 |ll be fo|rmatted |
|00000680| 61 73 20 69 74 20 69 73 | 20 69 6e 70 75 74 0a 28 |as it is| input.(|
|00000690| 60 60 76 65 72 62 61 74 | 69 6d 27 27 29 2e 0a 0a |``verbat|im'')...|
|000006a0| 54 68 65 20 73 65 70 61 | 72 61 74 69 6f 6e 20 6f |The sepa|ration o|
|000006b0| 66 20 74 68 65 20 73 65 | 63 74 69 6f 6e 73 20 69 |f the se|ctions i|
|000006c0| 73 20 64 6f 6e 65 20 69 | 6e 20 74 68 69 73 20 76 |s done i|n this v|
|000006d0| 65 72 73 69 6f 6e 20 28 | 77 68 69 63 68 20 69 73 |ersion (|which is|
|000006e0| 20 62 61 73 65 64 0a 6f | 6e 20 50 6c 61 69 6e 7e | based.o|n Plain~|
|000006f0| 5c 54 65 58 7b 7d 29 20 | 62 79 20 74 68 65 20 6d |\TeX{}) |by the m|
|00000700| 61 63 72 6f 73 20 7c 5c | 63 68 61 70 7c 20 61 6e |acros |\|chap| an|
|00000710| 64 20 7c 5c 73 65 63 74 | 7c 2e 20 20 42 75 74 20 |d |\sect||. But |
|00000720| 74 68 69 73 20 63 61 6e | 20 62 65 0a 63 68 61 6e |this can| be.chan|
|00000730| 67 65 64 20 65 61 73 69 | 6c 79 2c 20 65 2e 67 2e |ged easi|ly, e.g.|
|00000740| 5c 20 66 6f 72 20 70 72 | 65 70 61 72 69 6e 67 20 |\ for pr|eparing |
|00000750| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |the docu|mentatio|
|00000760| 6e 20 77 69 74 68 20 5c | 4c 61 54 65 58 7b 7d 2e |n with \|LaTeX{}.|
|00000770| 0a 54 68 65 6e 20 74 68 | 65 20 6c 61 73 74 20 73 |.Then th|e last s|
|00000780| 65 63 74 69 6f 6e 20 67 | 72 6f 75 70 20 6f 66 20 |ection g|roup of |
|00000790| 74 68 69 73 20 6d 61 63 | 72 6f 20 70 61 63 6b 61 |this mac|ro packa|
|000007a0| 67 65 20 6d 75 73 74 20 | 62 65 20 6f 6d 69 74 74 |ge must |be omitt|
|000007b0| 65 64 20 61 6e 64 0a 74 | 68 65 20 72 65 73 74 20 |ed and.t|he rest |
|000007c0| 6d 75 73 74 20 62 65 20 | 72 65 61 6c 69 7a 65 64 |must be |realized|
|000007d0| 20 61 73 20 61 20 73 74 | 79 6c 65 20 6f 70 74 69 | as a st|yle opti|
|000007e0| 6f 6e 2e 0a 0a 49 6e 20 | 74 68 65 20 64 6f 63 75 |on...In |the docu|
|000007f0| 6d 65 6e 74 61 74 69 6f | 6e 20 70 61 72 74 20 6f |mentatio|n part o|
|00000800| 66 20 61 20 73 65 63 74 | 69 6f 6e 20 74 65 78 74 |f a sect|ion text|
|00000810| 20 70 69 65 63 65 73 2c | 20 65 2e 67 2e 5c 20 6e | pieces,| e.g.\ n|
|00000820| 61 6d 65 73 20 6f 66 0a | 76 61 72 69 61 62 6c 65 |ames of.|variable|
|00000830| 73 2c 20 63 61 6e 20 62 | 65 20 69 6e 73 65 72 74 |s, can b|e insert|
|00000840| 65 64 20 76 65 72 62 61 | 74 69 6d 20 74 6f 20 64 |ed verba|tim to d|
|00000850| 65 6d 6f 6e 73 74 72 61 | 74 65 20 74 68 65 20 63 |emonstra|te the c|
|00000860| 6f 6e 6e 65 63 74 69 6f | 6e 20 74 6f 0a 74 68 65 |onnectio|n to.the|
|00000870| 20 70 72 6f 67 72 61 6d | 20 74 65 78 74 2e 20 20 | program| text. |
|00000880| 54 68 65 73 65 20 70 61 | 72 74 73 20 61 72 65 20 |These pa|rts are |
|00000890| 69 6e 63 6c 75 64 65 64 | 20 69 6e 20 76 65 72 74 |included| in vert|
|000008a0| 69 63 61 6c 20 62 61 72 | 73 0a 28 60 7b 5c 74 74 |ical bar|s.(`{\tt|
|000008b0| 5c 76 62 61 72 7d 27 29 | 20 77 68 69 6c 65 20 74 |\vbar}')| while t|
|000008c0| 68 65 20 76 65 72 74 69 | 63 61 6c 20 62 61 72 20 |he verti|cal bar |
|000008d0| 69 74 73 65 6c 66 20 63 | 61 6e 20 62 65 20 6f 62 |itself c|an be ob|
|000008e0| 74 61 69 6e 65 64 20 62 | 79 0a 7c 5c 6f 72 69 67 |tained b|y.|\orig|
|000008f0| 76 65 72 74 7c 2e 0a 0a | 54 68 69 73 20 6d 61 63 |vert|...|This mac|
|00000900| 72 6f 20 70 61 63 6b 61 | 67 65 20 64 6f 65 73 20 |ro packa|ge does |
|00000910| 6e 6f 74 20 6f 66 66 65 | 72 20 74 68 65 20 63 72 |not offe|r the cr|
|00000920| 65 61 74 69 6f 6e 20 6f | 66 20 61 6e 20 69 6e 64 |eation o|f an ind|
|00000930| 65 78 20 62 65 63 61 75 | 73 65 20 69 74 0a 69 73 |ex becau|se it.is|
|00000940| 20 6e 6f 74 20 6b 6e 6f | 77 6e 20 77 68 69 63 68 | not kno|wn which|
|00000950| 20 73 79 6e 74 61 63 74 | 69 63 61 6c 20 74 6f 6b | syntact|ical tok|
|00000960| 65 6e 73 20 74 68 65 20 | 6c 61 6e 67 75 61 67 65 |ens the |language|
|00000970| 20 68 61 73 20 74 68 61 | 74 20 73 68 6f 75 6c 64 | has tha|t should|
|00000980| 20 62 65 0a 6d 65 6e 74 | 69 6f 6e 65 64 20 69 6e | be.ment|ioned in|
|00000990| 20 61 6e 20 69 6e 64 65 | 78 2e 20 20 41 73 20 77 | an inde|x. As w|
|000009a0| 65 6c 6c 20 74 68 65 20 | 63 72 65 61 74 69 6f 6e |ell the |creation|
|000009b0| 20 6f 66 20 61 20 74 61 | 62 6c 65 20 6f 66 20 63 | of a ta|ble of c|
|000009c0| 6f 6e 74 65 6e 74 73 0a | 61 6e 64 20 6f 66 20 68 |ontents.|and of h|
|000009d0| 65 61 64 69 6e 67 73 20 | 77 6f 75 6c 64 20 62 65 |eadings |would be|
|000009e0| 20 70 72 65 66 65 72 61 | 62 6c 65 20 74 6f 20 61 | prefera|ble to a|
|000009f0| 6c 6c 6f 77 20 62 65 74 | 74 65 72 20 6f 72 69 65 |llow bet|ter orie|
|00000a00| 6e 74 61 74 69 6f 6e 20 | 69 6e 20 74 68 65 0a 64 |ntation |in the.d|
|00000a10| 6f 63 75 6d 65 6e 74 2e | 20 20 53 6f 6d 65 20 72 |ocument.| Some r|
|00000a20| 65 6d 61 72 6b 73 20 61 | 62 6f 75 74 20 66 75 74 |emarks a|bout fut|
|00000a30| 75 72 65 20 65 6e 68 61 | 6e 63 65 6d 65 6e 74 73 |ure enha|ncements|
|00000a40| 20 77 68 69 63 68 20 73 | 68 6f 75 6c 64 20 62 65 | which s|hould be|
|00000a50| 20 64 6f 6e 65 0a 75 72 | 67 65 6e 74 6c 79 20 61 | done.ur|gently a|
|00000a60| 72 65 20 73 65 74 20 69 | 6e 20 73 6c 61 6e 74 65 |re set i|n slante|
|00000a70| 64 20 74 79 70 65 2e 0a | 0a 0a 5c 73 65 63 74 20 |d type..|..\sect |
|00000a80| 57 65 20 68 61 76 65 20 | 74 6f 20 72 65 61 6c 69 |We have |to reali|
|00000a90| 7a 65 20 74 68 72 65 65 | 20 70 61 72 74 73 3a 20 |ze three| parts: |
|00000aa0| 20 28 31 29 7e 74 68 65 | 20 66 6f 72 6d 61 74 74 | (1)~the| formatt|
|00000ab0| 69 6e 67 20 6f 66 20 72 | 61 74 68 65 72 0a 73 6d |ing of r|ather.sm|
|00000ac0| 61 6c 6c 20 76 65 72 62 | 61 74 69 6d 20 74 65 78 |all verb|atim tex|
|00000ad0| 74 73 20 69 6e 20 61 20 | 6c 69 6e 65 2c 20 28 32 |ts in a |line, (2|
|00000ae0| 29 7e 74 68 65 20 66 6f | 72 6d 61 74 74 69 6e 67 |)~the fo|rmatting|
|00000af0| 20 6f 66 20 6c 61 72 67 | 65 72 20 70 61 72 74 73 | of larg|er parts|
|00000b00| 20 6f 66 0a 70 72 6f 67 | 72 61 6d 20 61 6e 64 20 | of.prog|ram and |
|00000b10| 28 33 29 7e 74 68 65 20 | 64 6f 63 75 6d 65 6e 74 |(3)~the |document|
|00000b20| 20 73 74 72 75 63 74 75 | 72 69 6e 67 20 65 6c 65 | structu|ring ele|
|00000b30| 6d 65 6e 74 73 20 66 6f | 72 20 74 68 65 20 73 65 |ments fo|r the se|
|00000b40| 70 61 72 61 74 69 6f 6e | 0a 6f 66 20 74 68 65 20 |paration|.of the |
|00000b50| 73 65 63 74 69 6f 6e 73 | 2e 20 20 42 65 66 6f 72 |sections|. Befor|
|00000b60| 65 20 77 65 20 73 74 61 | 72 74 20 77 65 20 64 65 |e we sta|rt we de|
|00000b70| 63 6c 61 72 65 20 73 6f | 6d 65 20 73 68 6f 72 74 |clare so|me short|
|00000b80| 68 61 6e 64 73 20 66 6f | 72 0a 63 61 74 65 67 6f |hands fo|r.catego|
|00000b90| 72 79 20 63 6f 64 65 73 | 2e 0a 0a 42 79 20 64 65 |ry codes|...By de|
|00000ba0| 63 6c 61 72 69 6e 67 20 | 74 68 65 20 61 74 20 73 |claring |the at s|
|00000bb0| 69 67 6e 7e 28 60 7c 40 | 7c 27 29 20 61 73 20 77 |ign~(`|@||') as w|
|00000bc0| 65 6c 6c 20 61 73 20 74 | 68 65 20 75 6e 64 65 72 |ell as t|he under|
|00000bd0| 73 63 6f 72 65 7e 60 28 | 7c 5f 7c 29 27 20 61 73 |score~`(||_|)' as|
|00000be0| 0a 6c 65 74 74 65 72 73 | 20 77 65 20 63 61 6e 20 |.letters| we can |
|00000bf0| 75 73 65 20 74 68 65 6d | 20 69 6e 20 6f 75 72 20 |use them| in our |
|00000c00| 6d 61 63 72 6f 73 2e 0a | 7b 5c 74 6f 6c 65 72 61 |macros..|{\tolera|
|00000c10| 6e 63 65 3d 31 30 30 30 | 30 0a 28 49 20 61 67 72 |nce=1000|0.(I agr|
|00000c20| 65 65 20 77 69 74 68 20 | 44 2e 7e 4b 6e 75 74 68 |ee with |D.~Knuth|
|00000c30| 20 74 68 61 74 20 7c 5c | 69 64 65 6e 74 69 66 69 | that |\|identifi|
|00000c40| 65 72 5f 73 65 76 65 72 | 61 6c 5f 77 6f 72 64 73 |er_sever|al_words|
|00000c50| 5f 6c 6f 6e 67 7c 20 69 | 73 20 6d 75 63 68 0a 62 |_long| i|s much.b|
|00000c60| 65 74 74 65 72 20 72 65 | 61 64 61 62 6c 65 20 74 |etter re|adable t|
|00000c70| 68 61 6e 20 7c 5c 49 64 | 65 6e 74 69 66 69 65 72 |han |\Id|entifier|
|00000c80| 53 65 76 65 72 61 6c 57 | 6f 72 64 73 4c 6f 6e 67 |SeveralW|ordsLong|
|00000c90| 7c 20 61 6e 64 20 62 6f | 74 68 20 61 72 65 20 62 || and bo|th are b|
|00000ca0| 65 74 74 65 72 0a 74 68 | 61 6e 20 7c 5c 70 72 40 |etter.th|an |\pr@|
|00000cb0| 40 40 73 7c 2e 29 0a 57 | 69 74 68 20 74 68 65 20 |@@s|.).W|ith the |
|00000cc0| 61 74 20 73 69 67 6e 20 | 77 65 20 63 61 6e 20 75 |at sign |we can u|
|00000cd0| 73 65 20 74 68 65 20 60 | 60 70 72 69 76 61 74 65 |se the `|`private|
|00000ce0| 27 27 20 50 6c 61 69 6e | 20 6d 61 63 72 6f 73 20 |'' Plain| macros |
|00000cf0| 61 6e 64 20 77 69 74 68 | 20 74 68 65 0a 75 6e 64 |and with| the.und|
|00000d00| 65 72 73 63 6f 72 65 20 | 77 65 20 63 61 6e 20 6d |erscore |we can m|
|00000d10| 61 6b 65 20 6f 75 72 20 | 6f 77 6e 20 6d 61 63 72 |ake our |own macr|
|00000d20| 6f 73 20 6d 6f 72 65 20 | 72 65 61 64 61 62 6c 65 |os more |readable|
|00000d30| 2e 20 20 42 75 74 20 61 | 73 20 77 65 20 68 61 76 |. But a|s we hav|
|00000d40| 65 0a 74 6f 20 72 65 73 | 74 6f 72 65 20 74 68 65 |e.to res|tore the|
|00000d50| 73 65 20 63 61 74 65 67 | 6f 72 79 20 63 6f 64 65 |se categ|ory code|
|00000d60| 73 20 61 74 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |s at the| end of |
|00000d70| 74 68 69 73 20 6d 61 63 | 72 6f 20 66 69 6c 65 20 |this mac|ro file |
|00000d80| 77 65 20 73 74 6f 72 65 | 0a 74 68 65 69 72 20 66 |we store|.their f|
|00000d90| 6f 72 6d 65 72 20 76 61 | 6c 75 65 73 20 69 6e 20 |ormer va|lues in |
|00000da0| 74 68 65 20 63 6f 6e 74 | 72 6f 6c 20 73 65 71 75 |the cont|rol sequ|
|00000db0| 65 6e 63 65 73 20 7c 5c | 61 74 63 6f 64 65 7c 20 |ences |\|atcode| |
|00000dc0| 61 6e 64 20 7c 5c 75 73 | 63 6f 64 65 7c 2e 0a 54 |and |\us|code|..T|
|00000dd0| 68 69 73 20 6d 65 74 68 | 6f 64 20 69 73 20 62 65 |his meth|od is be|
|00000de0| 74 74 65 72 20 74 68 61 | 6e 20 74 68 65 20 75 73 |tter tha|n the us|
|00000df0| 61 67 65 20 6f 66 20 61 | 20 67 72 6f 75 70 20 62 |age of a| group b|
|00000e00| 65 63 61 75 73 65 20 6e | 6f 74 20 61 6c 6c 20 6d |ecause n|ot all m|
|00000e10| 61 63 72 6f 73 0a 68 61 | 76 65 20 74 6f 20 62 65 |acros.ha|ve to be|
|00000e20| 20 64 65 66 69 6e 65 64 | 20 67 6c 6f 62 61 6c 20 | defined| global |
|00000e30| 74 68 69 73 20 77 61 79 | 2e 0a 5c 70 61 72 7d 0a |this way|..\par}.|
|00000e40| 0a 5c 62 65 67 69 6e 70 | 72 6f 67 0a 5c 63 68 61 |.\beginp|rog.\cha|
|00000e50| 72 64 65 66 5c 65 73 63 | 61 70 65 3d 30 0a 5c 63 |rdef\esc|ape=0.\c|
|00000e60| 68 61 72 64 65 66 5c 6c | 65 74 74 65 72 3d 31 31 |hardef\l|etter=11|
|00000e70| 0a 5c 63 68 61 72 64 65 | 66 5c 6f 74 68 65 72 3d |.\charde|f\other=|
|00000e80| 31 32 0a 25 5c 63 68 61 | 72 64 65 66 5c 61 63 74 |12.%\cha|rdef\act|
|00000e90| 69 76 65 3d 31 33 20 20 | 20 20 20 20 20 20 20 20 |ive=13 | |
|00000ea0| 20 20 20 20 25 20 69 73 | 20 64 65 66 69 6e 65 64 | % is| defined|
|00000eb0| 20 69 6e 20 50 6c 61 69 | 6e 20 61 6c 72 65 61 64 | in Plai|n alread|
|00000ec0| 79 0a 0a 5c 63 68 61 72 | 64 65 66 5c 61 74 63 6f |y..\char|def\atco|
|00000ed0| 64 65 3d 5c 63 61 74 63 | 6f 64 65 60 5c 40 0a 5c |de=\catc|ode`\@.\|
|00000ee0| 63 68 61 72 64 65 66 5c | 75 73 63 6f 64 65 3d 5c |chardef\|uscode=\|
|00000ef0| 63 61 74 63 6f 64 65 60 | 5c 5f 0a 0a 5c 63 61 74 |catcode`|\_..\cat|
|00000f00| 63 6f 64 65 60 5c 40 3d | 5c 6c 65 74 74 65 72 0a |code`\@=|\letter.|
|00000f10| 5c 63 61 74 63 6f 64 65 | 60 5c 5f 3d 5c 6c 65 74 |\catcode|`\_=\let|
|00000f20| 74 65 72 0a 5c 65 6e 64 | 70 72 6f 67 0a 0a 0a 0a |ter.\end|prog....|
|00000f30| 0a 5c 63 68 61 70 20 4c | 6f 63 61 6c 20 56 65 72 |.\chap L|ocal Ver|
|00000f40| 62 61 74 69 6d 20 46 6f | 72 6d 61 74 74 69 6e 67 |batim Fo|rmatting|
|00000f50| 2e 0a 0a 54 68 65 20 6d | 61 69 6e 20 70 6f 69 6e |...The m|ain poin|
|00000f60| 74 20 6f 66 20 65 76 65 | 72 79 20 76 65 72 62 61 |t of eve|ry verba|
|00000f70| 74 69 6d 20 66 6f 72 6d | 61 74 74 69 6e 67 20 69 |tim form|atting i|
|00000f80| 73 20 74 68 65 20 73 77 | 69 74 63 68 69 6e 67 20 |s the sw|itching |
|00000f90| 6f 66 20 74 68 65 0a 63 | 68 61 72 61 63 74 65 72 |of the.c|haracter|
|00000fa0| 20 63 6f 64 65 73 20 6f | 66 20 61 6c 6c 20 63 68 | codes o|f all ch|
|00000fb0| 61 72 61 63 74 65 72 73 | 20 74 68 61 74 20 68 61 |aracters| that ha|
|00000fc0| 76 65 20 61 20 73 70 65 | 63 69 61 6c 20 5c 54 65 |ve a spe|cial \Te|
|00000fd0| 58 7b 7d 20 6d 65 61 6e | 69 6e 67 2e 0a 54 68 69 |X{} mean|ing..Thi|
|00000fe0| 73 20 63 61 6e 20 62 65 | 20 64 6f 6e 65 20 77 69 |s can be| done wi|
|00000ff0| 74 68 20 74 68 65 20 63 | 6f 6e 74 72 6f 6c 20 73 |th the c|ontrol s|
|00001000| 65 71 75 65 6e 63 65 20 | 7c 5c 64 6f 73 70 65 63 |equence ||\dospec|
|00001010| 69 61 6c 73 7c 20 74 68 | 61 74 20 61 70 70 6c 69 |ials| th|at appli|
|00001020| 65 73 0a 74 68 65 20 63 | 6f 6e 74 72 6f 6c 20 73 |es.the c|ontrol s|
|00001030| 65 71 75 65 6e 63 65 20 | 7c 5c 64 6f 7c 20 74 6f |equence ||\do| to|
|00001040| 20 61 6c 6c 20 73 70 65 | 63 69 61 6c 20 63 68 61 | all spe|cial cha|
|00001050| 72 61 63 74 65 72 73 2e | 20 20 41 64 64 69 74 69 |racters.| Additi|
|00001060| 6f 6e 61 6c 6c 79 2c 0a | 65 76 65 72 79 20 6c 69 |onally,.|every li|
|00001070| 6e 65 20 69 73 20 72 65 | 67 61 72 64 65 64 20 61 |ne is re|garded a|
|00001080| 73 20 61 20 70 61 72 61 | 67 72 61 70 68 20 77 69 |s a para|graph wi|
|00001090| 74 68 6f 75 74 20 69 6e | 64 65 6e 74 61 74 69 6f |thout in|dentatio|
|000010a0| 6e 2e 20 20 42 65 74 77 | 65 65 6e 0a 74 77 6f 20 |n. Betw|een.two |
|000010b0| 70 61 72 61 67 72 61 70 | 68 73 2c 20 69 2e 65 2e |paragrap|hs, i.e.|
|000010c0| 5c 20 62 65 74 77 65 65 | 6e 20 74 77 6f 20 6c 69 |\ betwee|n two li|
|000010d0| 6e 65 73 2c 20 6e 6f 20 | 65 78 74 72 61 20 73 70 |nes, no |extra sp|
|000010e0| 61 63 65 20 69 73 20 73 | 65 74 2e 0a 46 69 6e 61 |ace is s|et..Fina|
|000010f0| 6c 6c 79 20 61 6c 6c 20 | 62 6c 61 6e 6b 73 20 61 |lly all |blanks a|
|00001100| 6e 64 20 74 61 62 75 6c | 61 72 20 63 68 61 72 61 |nd tabul|ar chara|
|00001110| 63 74 65 72 73 20 73 68 | 61 6c 6c 20 62 65 20 6f |cters sh|all be o|
|00001120| 62 65 79 65 64 20 61 6e | 64 20 74 68 65 0a 69 6e |beyed an|d the.in|
|00001130| 74 65 72 20 77 6f 72 64 | 20 73 70 61 63 65 20 61 |ter word| space a|
|00001140| 66 74 65 72 20 73 65 6e | 74 65 6e 63 65 20 74 65 |fter sen|tence te|
|00001150| 72 6d 69 6e 61 74 6f 72 | 73 20 73 68 61 6c 6c 20 |rminator|s shall |
|00001160| 6e 6f 74 20 62 65 20 65 | 6e 6c 61 72 67 65 64 2e |not be e|nlarged.|
|00001170| 0a 54 68 65 20 61 63 74 | 69 76 61 74 69 6f 6e 20 |.The act|ivation |
|00001180| 6f 66 20 74 68 65 20 74 | 61 62 75 6c 61 72 20 63 |of the t|abular c|
|00001190| 68 61 72 61 63 74 65 72 | 73 20 77 69 74 68 20 7c |haracter|s with ||
|000011a0| 5c 6f 62 65 79 74 61 62 | 73 7c 20 69 73 0a 65 71 |\obeytab|s| is.eq|
|000011b0| 75 69 76 61 6c 65 6e 74 | 20 74 6f 20 7c 5c 6f 62 |uivalent| to |\ob|
|000011c0| 65 79 73 70 61 63 65 73 | 7c 20 69 6e 20 7b 5c 74 |eyspaces|| in {\t|
|000011d0| 74 20 70 6c 61 69 6e 2e | 74 65 78 5c 2f 7d 2e 0a |t plain.|tex\/}..|
|000011e0| 0a 56 65 72 62 61 74 69 | 6d 20 74 65 78 74 73 20 |.Verbati|m texts |
|000011f0| 61 72 65 20 73 65 74 20 | 69 6e 20 6d 6f 6e 6f 73 |are set |in monos|
|00001200| 70 61 63 65 2c 20 77 65 | 20 75 73 65 20 28 6c 69 |pace, we| use (li|
|00001210| 6b 65 20 69 6e 20 5c 57 | 45 42 7b 7d 29 20 74 68 |ke in \W|EB{}) th|
|00001220| 65 0a 63 68 61 72 61 63 | 74 65 72 20 73 65 74 20 |e.charac|ter set |
|00001230| 77 69 74 68 20 74 68 65 | 20 65 78 74 65 6e 64 65 |with the| extende|
|00001240| 64 20 7b 5c 6d 63 20 41 | 53 43 49 49 7d 2e 20 20 |d {\mc A|SCII}. |
|00001250| 46 6f 72 20 5c 4c 61 54 | 65 58 7b 7d 20 77 65 20 |For \LaT|eX{} we |
|00001260| 77 6f 75 6c 64 0a 68 61 | 76 65 20 74 6f 20 61 64 |would.ha|ve to ad|
|00001270| 64 20 68 65 72 65 20 7c | 5c 74 74 65 78 7c 20 74 |d here ||\ttex| t|
|00001280| 6f 20 61 6c 6c 20 73 69 | 7a 65 20 6d 6f 64 69 66 |o all si|ze modif|
|00001290| 69 63 61 74 69 6f 6e 73 | 20 6c 69 6b 65 20 7c 5c |ications| like |\|
|000012a0| 78 70 74 7c 2c 0a 7c 5c | 78 69 69 70 74 7c 2c 20 |xpt|,.|\|xiipt|, |
|000012b0| 65 74 63 2e 0a 0a 5c 62 | 65 67 69 6e 70 72 6f 67 |etc...\b|eginprog|
|000012c0| 0a 5c 66 6f 6e 74 5c 74 | 65 6e 74 65 78 3d 63 6d |.\font\t|entex=cm|
|000012d0| 74 65 78 31 30 20 20 20 | 20 20 20 20 20 20 20 20 |tex10 | |
|000012e0| 20 25 20 74 79 70 65 77 | 72 69 74 65 72 20 65 78 | % typew|riter ex|
|000012f0| 74 65 6e 64 65 64 20 41 | 53 43 49 49 20 31 30 70 |tended A|SCII 10p|
|00001300| 74 0a 5c 6c 65 74 5c 74 | 74 65 78 3d 5c 74 65 6e |t.\let\t|tex=\ten|
|00001310| 74 65 78 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |tex | |
|00001320| 20 20 25 20 6f 6e 6c 79 | 20 66 6f 72 20 50 4c 41 | % only| for PLA|
|00001330| 49 4e 20 77 69 74 68 20 | 62 61 73 65 20 73 69 7a |IN with |base siz|
|00001340| 65 20 31 30 70 74 0a 0a | 5c 64 65 66 5c 73 65 74 |e 10pt..|\def\set|
|00001350| 75 70 5f 76 65 72 62 61 | 74 69 6d 7b 25 0a 20 20 |up_verba|tim{%. |
|00001360| 20 5c 64 65 66 5c 64 6f | 23 23 31 7b 5c 63 61 74 | \def\do|##1{\cat|
|00001370| 63 6f 64 65 60 23 23 31 | 5c 6f 74 68 65 72 7d 5c |code`##1|\other}\|
|00001380| 64 6f 73 70 65 63 69 61 | 6c 73 0a 20 20 20 5c 70 |dospecia|ls. \p|
|00001390| 61 72 73 6b 69 70 5c 7a | 40 73 6b 69 70 20 5c 70 |arskip\z|@skip \p|
|000013a0| 61 72 69 6e 64 65 6e 74 | 5c 7a 40 0a 20 20 20 5c |arindent|\z@. \|
|000013b0| 6f 62 65 79 6c 69 6e 65 | 73 20 5c 6f 62 65 79 73 |obeyline|s \obeys|
|000013c0| 70 61 63 65 73 20 5c 6f | 62 65 79 74 61 62 73 20 |paces \o|beytabs |
|000013d0| 5c 66 72 65 6e 63 68 73 | 70 61 63 69 6e 67 0a 20 |\frenchs|pacing. |
|000013e0| 20 20 5c 74 74 65 78 0a | 20 20 20 7d 0a 0a 5c 6c | \ttex.| }..\l|
|000013f0| 65 74 5c 74 61 62 3d 5c | 73 70 61 63 65 0a 5c 62 |et\tab=\|space.\b|
|00001400| 65 67 69 6e 67 72 6f 75 | 70 0a 20 20 20 5c 63 61 |egingrou|p. \ca|
|00001410| 74 63 6f 64 65 60 5c 5e | 5e 49 3d 5c 61 63 74 69 |tcode`\^|^I=\acti|
|00001420| 76 65 25 20 20 20 20 20 | 20 20 25 20 41 74 74 65 |ve% | % Atte|
|00001430| 6e 74 69 6f 6e 3a 20 6e | 6f 20 74 61 62 73 21 0a |ntion: n|o tabs!.|
|00001440| 20 20 20 5c 67 64 65 66 | 5c 6f 62 65 79 74 61 62 | \gdef|\obeytab|
|00001450| 73 7b 5c 63 61 74 63 6f | 64 65 60 5c 5e 5e 49 3d |s{\catco|de`\^^I=|
|00001460| 5c 61 63 74 69 76 65 5c | 64 65 66 5e 5e 49 7b 5c |\active\|def^^I{\|
|00001470| 74 61 62 7d 7d 0a 20 20 | 20 5c 67 6c 6f 62 61 6c |tab}}. | \global|
|00001480| 5c 6c 65 74 5e 5e 49 3d | 5c 74 61 62 25 20 20 20 |\let^^I=|\tab% |
|00001490| 20 20 20 20 20 20 25 20 | 69 66 20 61 6e 20 61 63 | % |if an ac|
|000014a0| 74 69 76 65 20 74 61 62 | 20 61 70 70 65 61 72 73 |tive tab| appears|
|000014b0| 20 69 6e 20 61 20 5c 77 | 72 69 74 65 0a 5c 65 6e | in a \w|rite.\en|
|000014c0| 64 67 72 6f 75 70 0a 5c | 65 6e 64 70 72 6f 67 0a |dgroup.\|endprog.|
|000014d0| 0a 5c 73 65 63 74 20 41 | 66 74 65 72 20 68 61 76 |.\sect A|fter hav|
|000014e0| 69 6e 67 20 73 61 76 65 | 64 20 74 68 65 20 6f 6c |ing save|d the ol|
|000014f0| 64 20 6d 65 61 6e 69 6e | 67 20 6f 66 20 60 7b 5c |d meanin|g of `{\|
|00001500| 74 74 5c 76 62 61 72 7d | 27 20 69 6e 0a 7c 5c 6f |tt\vbar}|' in.|\o|
|00001510| 72 69 67 76 65 72 74 7c | 20 61 6e 64 20 61 66 74 |rigvert|| and aft|
|00001520| 65 72 20 64 65 63 6c 61 | 72 69 6e 67 20 7c 5c 76 |er decla|ring |\v|
|00001530| 62 61 72 7c 20 61 73 20 | 61 20 73 79 6e 6f 6e 79 |bar| as |a synony|
|00001540| 6d 20 66 6f 72 20 74 68 | 65 20 63 68 61 72 61 63 |m for th|e charac|
|00001550| 74 65 72 0a 74 68 61 74 | 20 68 61 73 20 74 68 65 |ter.that| has the|
|00001560| 20 63 6f 64 65 20 6f 66 | 20 61 20 76 65 72 74 69 | code of| a verti|
|00001570| 63 61 6c 20 62 61 72 20 | 69 6e 20 74 68 65 20 61 |cal bar |in the a|
|00001580| 63 74 75 61 6c 20 66 6f | 6e 74 2c 20 74 68 65 20 |ctual fo|nt, the |
|00001590| 76 65 72 74 69 63 61 6c | 0a 62 61 72 20 63 61 6e |vertical|.bar can|
|000015a0| 20 62 65 20 6d 61 64 65 | 20 61 63 74 69 76 65 2e | be made| active.|
|000015b0| 20 20 54 68 65 6e 20 77 | 65 20 63 61 6c 6c 20 7c | Then w|e call ||
|000015c0| 5c 73 65 74 75 70 5f 76 | 65 72 62 61 74 69 6d 7c |\setup_v|erbatim||
|000015d0| 2e 20 20 42 75 74 20 74 | 68 65 0a 6e 65 77 6c 69 |. But t|he.newli|
|000015e0| 6e 65 20 63 68 61 72 61 | 63 74 65 72 73 20 73 68 |ne chara|cters sh|
|000015f0| 61 6c 6c 20 6e 6f 74 20 | 62 65 20 70 72 6f 63 65 |all not |be proce|
|00001600| 73 73 65 64 2c 20 74 68 | 65 79 20 73 68 61 6c 6c |ssed, th|ey shall|
|00001610| 20 62 65 20 72 65 67 61 | 72 64 65 64 20 6c 69 6b | be rega|rded lik|
|00001620| 65 0a 62 6c 61 6e 6b 20 | 73 70 61 63 65 2e 20 20 |e.blank |space. |
|00001630| 54 68 69 73 20 63 61 6e | 20 62 65 20 72 65 61 63 |This can| be reac|
|00001640| 68 65 64 20 62 79 20 64 | 65 66 69 6e 69 6e 67 20 |hed by d|efining |
|00001650| 7c 5c 70 61 72 7c 20 61 | 73 20 7c 5c 73 70 61 63 ||\par| a|s |\spac|
|00001660| 65 7c 2e 0a 0a 54 68 65 | 20 6e 65 78 74 20 76 65 |e|...The| next ve|
|00001670| 72 74 69 63 61 6c 20 62 | 61 72 20 69 6e 20 74 68 |rtical b|ar in th|
|00001680| 65 20 69 6e 70 75 74 20 | 63 6c 6f 73 65 73 20 74 |e input |closes t|
|00001690| 68 65 20 67 72 6f 75 70 | 20 77 68 69 63 68 20 62 |he group| which b|
|000016a0| 65 63 6f 6d 65 73 20 61 | 6e 0a 28 75 6e 62 72 65 |ecomes a|n.(unbre|
|000016b0| 61 6b 61 62 6c 65 29 20 | 7c 5c 68 62 6f 78 7c 20 |akable) ||\hbox| |
|000016c0| 74 68 65 6e 2e 20 20 54 | 68 65 20 6f 6c 64 20 6d |then. T|he old m|
|000016d0| 65 61 6e 69 6e 67 73 20 | 6f 66 20 74 68 65 20 73 |eanings |of the s|
|000016e0| 70 65 63 69 61 6c 0a 63 | 68 61 72 61 63 74 65 72 |pecial.c|haracter|
|000016f0| 73 20 61 6e 64 20 6f 66 | 20 74 68 65 20 76 65 72 |s and of| the ver|
|00001700| 74 69 63 61 6c 20 62 61 | 72 20 61 72 65 20 72 65 |tical ba|r are re|
|00001710| 73 74 6f 72 65 64 20 61 | 6e 64 20 5c 54 65 58 7b |stored a|nd \TeX{|
|00001720| 7d 20 69 73 20 69 6e 0a | 6e 6f 72 6d 61 6c 20 28 |} is in.|normal (|
|00001730| 68 6f 72 69 7a 6f 6e 74 | 61 6c 29 20 6d 6f 64 65 |horizont|al) mode|
|00001740| 20 61 67 61 69 6e 2e 0a | 0a 5c 62 65 67 69 6e 70 | again..|.\beginp|
|00001750| 72 6f 67 0a 5c 6c 65 74 | 5c 6f 72 69 67 76 65 72 |rog.\let|\origver|
|00001760| 74 3d 7c 0a 5c 63 68 61 | 72 64 65 66 5c 76 62 61 |t=|.\cha|rdef\vba|
|00001770| 72 3d 60 5c 7c 0a 0a 5c | 63 61 74 63 6f 64 65 60 |r=`\|..\|catcode`|
|00001780| 5c 7c 3d 5c 61 63 74 69 | 76 65 0a 0a 5c 64 65 66 |\|=\acti|ve..\def|
|00001790| 7c 7b 25 0a 20 20 20 5c | 6c 65 61 76 65 76 6d 6f ||{%. \|leavevmo|
|000017a0| 64 65 0a 20 20 20 5c 68 | 62 6f 78 5c 62 67 72 6f |de. \h|box\bgro|
|000017b0| 75 70 0a 20 20 20 20 20 | 20 5c 6c 65 74 5c 70 61 |up. | \let\pa|
|000017c0| 72 5c 73 70 61 63 65 20 | 5c 73 65 74 75 70 5f 76 |r\space |\setup_v|
|000017d0| 65 72 62 61 74 69 6d 0a | 20 20 20 20 20 20 5c 6c |erbatim.| \l|
|000017e0| 65 74 7c 5c 65 67 72 6f | 75 70 0a 20 20 20 7d 0a |et|\egro|up. }.|
|000017f0| 5c 65 6e 64 70 72 6f 67 | 0a 0a 0a 0a 0a 5c 63 68 |\endprog|.....\ch|
|00001800| 61 70 20 20 50 72 6f 67 | 72 61 6d 20 46 72 61 67 |ap Prog|ram Frag|
|00001810| 6d 65 6e 74 73 20 69 6e | 20 56 65 72 62 61 74 69 |ments in| Verbati|
|00001820| 6d 2e 0a 0a 57 65 20 6e | 65 65 64 20 6d 61 63 72 |m...We n|eed macr|
|00001830| 6f 73 20 74 6f 20 66 6f | 72 6d 61 74 20 74 68 65 |os to fo|rmat the|
|00001840| 20 70 72 6f 67 72 61 6d | 20 66 72 61 67 6d 65 6e | program| fragmen|
|00001850| 74 73 20 77 69 74 68 6f | 75 74 20 61 6e 79 0a 6c |ts witho|ut any.l|
|00001860| 69 6e 65 62 72 65 61 6b | 69 6e 67 2e 20 20 53 75 |inebreak|ing. Su|
|00001870| 63 68 20 61 20 74 65 78 | 74 20 61 72 65 61 20 73 |ch a tex|t area s|
|00001880| 68 61 6c 6c 20 73 74 61 | 72 74 20 77 69 74 68 20 |hall sta|rt with |
|00001890| 74 68 65 20 6d 61 63 72 | 6f 0a 7c 5c 62 65 67 69 |the macr|o.|\begi|
|000018a0| 6e 70 72 6f 67 7c 20 61 | 6e 64 20 65 6e 64 20 77 |nprog| a|nd end w|
|000018b0| 69 74 68 20 7c 5c 65 6e | 64 70 72 6f 67 7c 2e 20 |ith |\en|dprog|. |
|000018c0| 20 54 68 65 20 6d 61 63 | 72 6f 20 7c 5c 65 6e 64 | The mac|ro |\end|
|000018d0| 70 72 6f 67 7c 20 6d 75 | 73 74 20 73 74 61 6e 64 |prog| mu|st stand|
|000018e0| 0a 61 74 20 74 68 65 20 | 76 65 72 79 20 62 65 67 |.at the |very beg|
|000018f0| 69 6e 6e 69 6e 67 20 6f | 66 20 61 20 6c 69 6e 65 |inning o|f a line|
|00001900| 20 61 6e 64 20 6d 75 73 | 74 20 62 65 20 66 6f 6c | and mus|t be fol|
|00001910| 6c 6f 77 65 64 20 62 79 | 20 77 68 69 74 65 20 73 |lowed by| white s|
|00001920| 70 61 63 65 0a 28 62 6c | 61 6e 6b 2c 20 74 61 62 |pace.(bl|ank, tab|
|00001930| 20 6f 72 20 6e 65 77 6c | 69 6e 65 20 63 68 61 72 | or newl|ine char|
|00001940| 61 63 74 65 72 29 2e 20 | 20 41 66 74 65 72 20 7c |acter). | After ||
|00001950| 5c 62 65 67 69 6e 70 72 | 6f 67 7c 20 61 73 20 77 |\beginpr|og| as w|
|00001960| 65 6c 6c 20 61 73 0a 61 | 66 74 65 72 20 7c 5c 65 |ell as.a|fter |\e|
|00001970| 6e 64 70 72 6f 67 7c 20 | 74 68 65 20 72 65 73 74 |ndprog| |the rest|
|00001980| 20 6f 66 20 74 68 65 20 | 6c 69 6e 65 20 69 73 20 | of the |line is |
|00001990| 69 67 6e 6f 72 65 64 2e | 0a 0a 54 77 6f 20 64 65 |ignored.|..Two de|
|000019a0| 6d 61 6e 64 73 20 6d 75 | 73 74 20 62 65 20 72 65 |mands mu|st be re|
|000019b0| 67 61 72 64 65 64 3a 20 | 20 54 68 65 72 65 20 73 |garded: | There s|
|000019c0| 68 6f 75 6c 64 20 62 65 | 20 6e 6f 20 6c 65 6e 67 |hould be| no leng|
|000019d0| 74 68 20 72 65 73 74 72 | 69 63 74 69 6f 6e 73 0a |th restr|ictions.|
|000019e0| 66 6f 72 20 74 68 65 20 | 70 72 6f 63 65 73 73 65 |for the |processe|
|000019f0| 64 20 74 65 78 74 2c 20 | 61 6e 64 20 74 68 65 20 |d text, |and the |
|00001a00| 74 61 62 75 6c 61 72 20 | 63 68 61 72 61 63 74 65 |tabular |characte|
|00001a10| 72 73 20 73 68 6f 75 6c | 64 20 62 65 20 65 78 70 |rs shoul|d be exp|
|00001a20| 61 6e 64 65 64 0a 73 6f | 20 74 68 61 74 20 74 68 |anded.so| that th|
|00001a30| 69 73 20 6d 61 63 72 6f | 20 77 6f 72 6b 73 20 6f |is macro| works o|
|00001a40| 6e 20 50 43 27 73 20 61 | 6e 64 20 6f 6e 20 56 41 |n PC's a|nd on VA|
|00001a50| 58 65 73 2c 20 74 6f 6f | 2e 0a 0a 0a 5c 73 65 63 |Xes, too|....\sec|
|00001a60| 74 20 54 68 65 20 69 6d | 70 6c 65 6d 65 6e 74 61 |t The im|plementa|
|00001a70| 74 69 6f 6e 20 6d 65 74 | 68 6f 64 20 69 73 20 71 |tion met|hod is q|
|00001a80| 75 69 74 65 20 73 69 6d | 70 6c 65 3a 20 20 57 65 |uite sim|ple: We|
|00001a90| 20 72 65 61 64 20 74 68 | 65 20 6e 65 78 74 0a 6c | read th|e next.l|
|00001aa0| 69 6e 65 2c 20 74 65 73 | 74 2c 20 77 65 74 68 65 |ine, tes|t, wethe|
|00001ab0| 72 20 74 68 65 20 65 6e | 64 20 69 73 20 72 65 61 |r the en|d is rea|
|00001ac0| 63 68 65 64 20 28 62 79 | 20 63 6f 6d 70 61 72 69 |ched (by| compari|
|00001ad0| 6e 67 20 77 69 74 68 20 | 7c 5c 65 6e 64 70 72 6f |ng with ||\endpro|
|00001ae0| 67 7c 29 0a 61 6e 64 20 | 6f 74 68 65 72 77 69 73 |g|).and |otherwis|
|00001af0| 65 20 73 65 74 20 74 68 | 65 20 63 68 61 72 61 63 |e set th|e charac|
|00001b00| 74 65 72 20 61 63 74 75 | 61 6c 6c 79 20 72 65 61 |ter actu|ally rea|
|00001b10| 64 2e 20 20 45 76 65 72 | 79 20 63 68 61 72 61 63 |d. Ever|y charac|
|00001b20| 74 65 72 20 69 73 0a 69 | 6e 73 70 65 63 74 65 64 |ter is.i|nspected|
|00001b30| 20 61 6e 64 20 74 61 62 | 75 6c 61 72 20 63 68 61 | and tab|ular cha|
|00001b40| 72 61 63 74 65 72 73 20 | 61 72 65 20 65 78 70 61 |racters |are expa|
|00001b50| 6e 64 65 64 2e 0a 0a 57 | 65 74 68 65 72 20 61 20 |nded...W|ether a |
|00001b60| 6c 69 6e 65 20 69 73 20 | 73 65 74 20 6f 72 20 77 |line is |set or w|
|00001b70| 65 74 68 65 72 20 74 68 | 65 20 65 6e 64 20 6f 66 |ether th|e end of|
|00001b80| 20 74 68 65 20 70 72 6f | 63 65 73 73 65 64 20 61 | the pro|cessed a|
|00001b90| 72 65 61 20 69 73 0a 72 | 65 61 63 68 65 64 20 69 |rea is.r|eached i|
|00001ba0| 73 20 69 6e 64 69 63 61 | 74 65 64 20 62 79 20 74 |s indica|ted by t|
|00001bb0| 68 65 20 73 77 69 74 63 | 68 20 7c 5c 69 66 40 70 |he switc|h |\if@p|
|00001bc0| 72 69 6e 74 7c 2e 20 20 | 41 74 20 74 68 65 20 62 |rint|. |At the b|
|00001bd0| 65 67 69 6e 6e 69 6e 67 | 20 6f 66 0a 74 68 65 20 |eginning| of.the |
|00001be0| 7c 5c 62 65 67 69 6e 70 | 72 6f 67 7c 20 6d 61 63 ||\beginp|rog| mac|
|00001bf0| 72 6f 20 6d 6f 73 74 20 | 73 65 74 74 69 6e 67 73 |ro most |settings|
|00001c00| 20 61 72 65 20 64 6f 6e | 65 20 77 69 74 68 20 7c | are don|e with ||
|00001c10| 5c 73 65 74 75 70 5f 76 | 65 72 62 61 74 69 6d 7c |\setup_v|erbatim||
|00001c20| 0a 28 74 68 65 20 76 65 | 72 74 69 63 61 6c 20 62 |.(the ve|rtical b|
|00001c30| 61 72 20 6d 75 73 74 20 | 62 65 20 68 61 6e 64 6c |ar must |be handl|
|00001c40| 65 64 20 73 65 70 61 72 | 61 74 65 6c 79 29 20 61 |ed separ|ately) a|
|00001c50| 6e 64 20 74 68 65 20 72 | 65 73 74 20 6f 66 20 74 |nd the r|est of t|
|00001c60| 68 65 20 6c 69 6e 65 0a | 69 73 20 69 67 6e 6f 72 |he line.|is ignor|
|00001c70| 65 64 2e 20 20 41 73 20 | 65 76 65 72 79 74 68 69 |ed. As |everythi|
|00001c80| 6e 67 20 69 73 20 64 6f | 6e 65 20 77 69 74 68 69 |ng is do|ne withi|
|00001c90| 6e 20 61 20 67 72 6f 75 | 70 2c 20 74 68 65 20 65 |n a grou|p, the e|
|00001ca0| 6e 64 20 6f 66 20 74 68 | 65 0a 76 65 72 62 61 74 |nd of th|e.verbat|
|00001cb0| 69 6d 20 74 65 78 74 20 | 63 61 6e 20 62 65 20 70 |im text |can be p|
|00001cc0| 72 6f 63 65 73 73 65 64 | 20 62 79 20 73 69 6d 70 |rocessed| by simp|
|00001cd0| 6c 79 20 63 6c 6f 73 69 | 6e 67 20 74 68 69 73 20 |ly closi|ng this |
|00001ce0| 67 72 6f 75 70 2e 0a 0a | 46 6f 72 20 74 68 65 20 |group...|For the |
|00001cf0| 75 73 65 72 20 69 74 20 | 6c 6f 6f 6b 73 20 61 73 |user it |looks as|
|00001d00| 20 69 66 20 7c 5c 65 6e | 64 70 72 6f 67 7c 20 74 | if |\en|dprog| t|
|00001d10| 65 72 6d 69 6e 61 74 65 | 73 20 74 68 65 20 70 72 |erminate|s the pr|
|00001d20| 6f 63 65 73 73 69 6e 67 | 2c 20 62 75 74 0a 69 74 |ocessing|, but.it|
|00001d30| 20 6a 75 73 74 20 73 65 | 72 76 65 73 20 66 6f 72 | just se|rves for|
|00001d40| 20 74 68 65 20 69 64 65 | 6e 74 69 66 69 63 61 74 | the ide|ntificat|
|00001d50| 69 6f 6e 20 6f 66 20 74 | 68 65 20 65 6e 64 2c 20 |ion of t|he end, |
|00001d60| 74 68 65 20 74 72 75 65 | 20 70 72 6f 63 65 73 73 |the true| process|
|00001d70| 69 6e 67 0a 69 73 20 64 | 6f 6e 65 20 77 69 74 68 |ing.is d|one with|
|00001d80| 20 74 68 65 20 69 6e 74 | 65 72 6e 61 6c 20 6d 61 | the int|ernal ma|
|00001d90| 63 72 6f 20 7c 5c 65 6e | 64 5f 76 65 72 62 61 74 |cro |\en|d_verbat|
|00001da0| 69 6d 7c 2e 0a 0a 5c 62 | 65 67 69 6e 70 72 6f 67 |im|...\b|eginprog|
|00001db0| 0a 5c 6e 65 77 69 66 5c | 69 66 40 70 72 69 6e 74 |.\newif\|if@print|
|00001dc0| 0a 0a 5c 64 65 66 5c 62 | 65 67 69 6e 70 72 6f 67 |..\def\b|eginprog|
|00001dd0| 7b 25 0a 20 20 20 5c 65 | 6e 64 67 72 61 66 0a 20 |{%. \e|ndgraf. |
|00001de0| 20 20 5c 62 69 67 62 72 | 65 61 6b 0a 20 20 20 5c | \bigbr|eak. \|
|00001df0| 62 65 67 69 6e 67 72 6f | 75 70 0a 20 20 20 20 20 |begingro|up. |
|00001e00| 20 5c 73 65 74 75 70 5f | 76 65 72 62 61 74 69 6d | \setup_|verbatim|
|00001e10| 20 5c 63 61 74 63 6f 64 | 65 60 5c 7c 5c 6f 74 68 | \catcod|e`\|\oth|
|00001e20| 65 72 0a 20 20 20 20 20 | 20 5c 40 70 72 69 6e 74 |er. | \@print|
|00001e30| 74 72 75 65 0a 20 20 20 | 20 20 20 5c 69 67 6e 6f |true. | \igno|
|00001e40| 72 65 5f 72 65 73 74 5f | 6c 69 6e 65 0a 20 20 20 |re_rest_|line. |
|00001e50| 7d 0a 5c 6c 65 74 5c 65 | 6e 64 5f 76 65 72 62 61 |}.\let\e|nd_verba|
|00001e60| 74 69 6d 3d 5c 65 6e 64 | 67 72 6f 75 70 20 20 20 |tim=\end|group |
|00001e70| 20 20 20 20 20 20 20 20 | 20 20 25 20 69 6e 74 65 | | % inte|
|00001e80| 72 6e 61 6c 20 63 6f 6d | 6d 61 6e 64 20 21 0a 5c |rnal com|mand !.\|
|00001e90| 65 6e 64 70 72 6f 67 0a | 0a 0a 5c 73 65 63 74 20 |endprog.|..\sect |
|00001ea0| 54 68 65 20 66 69 72 73 | 74 20 6c 69 6e 65 20 69 |The firs|t line i|
|00001eb0| 73 20 69 67 6e 6f 72 65 | 64 2c 20 61 6c 6c 20 74 |s ignore|d, all t|
|00001ec0| 68 65 20 6f 74 68 65 72 | 20 6c 69 6e 65 73 20 61 |he other| lines a|
|00001ed0| 72 65 20 69 64 65 6e 74 | 69 66 69 65 64 0a 77 69 |re ident|ified.wi|
|00001ee0| 74 68 20 7c 5c 73 65 74 | 5f 6e 65 78 74 5f 6c 69 |th |\set|_next_li|
|00001ef0| 6e 65 7c 20 61 6e 64 20 | 70 72 6f 63 65 73 73 65 |ne| and |processe|
|00001f00| 64 20 77 69 74 68 20 7c | 5c 64 6f 5f 73 65 74 7c |d with ||\do_set||
|00001f10| 2e 20 20 54 68 69 73 20 | 73 65 70 61 72 61 74 69 |. This |separati|
|00001f20| 6f 6e 0a 69 6e 20 69 64 | 65 6e 74 69 66 69 63 61 |on.in id|entifica|
|00001f30| 74 69 6f 6e 20 61 6e 64 | 20 70 72 6f 63 65 73 73 |tion and| process|
|00001f40| 69 6e 67 20 61 6c 6c 6f | 77 73 20 74 68 61 74 20 |ing allo|ws that |
|00001f50| 74 68 65 20 6c 69 6e 65 | 20 65 6e 64 20 63 68 61 |the line| end cha|
|00001f60| 72 61 63 74 65 72 20 69 | 73 0a 61 63 74 69 76 65 |racter i|s.active|
|00001f70| 20 69 6e 20 74 68 65 20 | 64 65 66 69 6e 69 74 69 | in the |definiti|
|00001f80| 6f 6e 20 6f 6e 6c 79 20 | 66 6f 72 20 61 20 73 68 |on only |for a sh|
|00001f90| 6f 72 74 20 74 69 6d 65 | 2e 0a 0a 57 68 65 6e 20 |ort time|...When |
|00001fa0| 61 20 6c 69 6e 65 20 69 | 73 20 74 6f 20 62 65 20 |a line i|s to be |
|00001fb0| 66 6f 72 6d 61 74 74 65 | 64 2c 20 77 65 20 66 69 |formatte|d, we fi|
|00001fc0| 72 73 74 20 63 68 65 63 | 6b 20 77 69 74 68 20 7c |rst chec|k with ||
|00001fd0| 5c 63 68 65 63 6b 5f 70 | 72 69 6e 74 7c 0a 77 65 |\check_p|rint|.we|
|00001fe0| 74 68 65 72 20 69 74 20 | 63 6f 6e 74 61 69 6e 73 |ther it |contains|
|00001ff0| 20 7c 5c 65 6e 64 70 72 | 6f 67 7c 2c 20 6f 74 68 | |\endpr|og|, oth|
|00002000| 65 72 77 69 73 65 20 69 | 74 20 69 73 20 70 72 69 |erwise i|t is pri|
|00002010| 6e 74 65 64 20 77 69 74 | 68 0a 7c 5c 70 72 69 6e |nted wit|h.|\prin|
|00002020| 74 5f 63 68 61 72 7c 2e | 20 20 54 68 65 20 70 72 |t_char|.| The pr|
|00002030| 69 6e 74 69 6e 67 20 6d | 75 73 74 20 62 65 20 64 |inting m|ust be d|
|00002040| 6f 6e 65 20 66 6f 72 20 | 65 76 65 72 79 20 63 68 |one for |every ch|
|00002050| 61 72 61 63 74 65 72 0a | 69 6e 64 69 76 69 64 75 |aracter.|individu|
|00002060| 61 6c 6c 79 20 62 65 63 | 61 75 73 65 20 77 65 20 |ally bec|ause we |
|00002070| 77 61 6e 74 20 74 6f 20 | 63 68 65 63 6b 20 66 6f |want to |check fo|
|00002080| 72 20 74 61 62 75 6c 61 | 72 20 63 68 61 72 61 63 |r tabula|r charac|
|00002090| 74 65 72 73 3b 20 74 68 | 65 0a 65 78 61 63 74 20 |ters; th|e.exact |
|000020a0| 61 6c 67 6f 72 69 74 68 | 6d 20 69 73 20 64 65 73 |algorith|m is des|
|000020b0| 63 72 69 62 65 64 20 62 | 65 6c 6f 77 2e 20 20 48 |cribed b|elow. H|
|000020c0| 65 72 65 20 77 65 20 6a | 75 73 74 20 68 61 76 65 |ere we j|ust have|
|000020d0| 20 74 6f 20 6e 6f 74 65 | 20 74 68 61 74 0a 7c 5c | to note| that.|\|
|000020e0| 70 72 69 6e 74 5f 63 68 | 61 72 7c 20 69 73 20 75 |print_ch|ar| is u|
|000020f0| 73 65 64 20 77 69 74 68 | 20 74 77 6f 20 70 61 72 |sed with| two par|
|00002100| 61 6d 65 74 65 72 73 20 | 6f 66 20 77 68 69 63 68 |ameters |of which|
|00002110| 20 74 68 65 20 73 65 63 | 6f 6e 64 20 6f 6e 65 20 | the sec|ond one |
|00002120| 69 73 0a 66 69 6e 69 73 | 68 65 64 20 77 69 74 68 |is.finis|hed with|
|00002130| 20 74 68 65 20 74 6f 6b | 65 6e 20 7c 5c 65 6e 64 | the tok|en |\end|
|00002140| 5f 6c 69 6e 65 7c 2e 20 | 20 54 68 65 20 66 69 72 |_line|. | The fir|
|00002150| 73 74 20 70 61 72 61 6d | 65 74 65 72 20 69 73 20 |st param|eter is |
|00002160| 74 68 65 20 66 69 72 73 | 74 0a 63 68 61 72 61 63 |the firs|t.charac|
|00002170| 74 65 72 20 6f 66 20 74 | 68 65 20 6c 69 6e 65 2c |ter of t|he line,|
|00002180| 20 74 68 65 20 73 65 63 | 6f 6e 64 20 70 61 72 61 | the sec|ond para|
|00002190| 6d 65 74 65 72 20 69 73 | 20 74 68 65 20 72 65 73 |meter is| the res|
|000021a0| 74 20 6f 66 20 74 68 65 | 20 6c 69 6e 65 2e 0a 49 |t of the| line..I|
|000021b0| 66 20 74 68 65 20 6c 69 | 6e 65 20 69 73 20 65 6d |f the li|ne is em|
|000021c0| 70 74 79 2c 20 74 68 65 | 20 61 72 67 75 6d 65 6e |pty, the| argumen|
|000021d0| 74 20 6f 66 20 7c 5c 64 | 6f 5f 73 65 74 7c 20 69 |t of |\d|o_set| i|
|000021e0| 73 20 65 6d 70 74 79 2c | 20 74 6f 6f 3b 20 73 6f |s empty,| too; so|
|000021f0| 20 74 68 65 0a 61 63 74 | 69 76 61 74 69 6f 6e 20 | the.act|ivation |
|00002200| 6f 66 20 7c 5c 70 72 69 | 6e 74 5f 63 68 61 72 7c |of |\pri|nt_char||
|00002210| 20 6d 75 73 74 20 62 65 | 20 66 69 6e 69 73 68 65 | must be| finishe|
|00002220| 64 20 77 69 74 68 20 74 | 77 6f 20 7c 5c 65 6e 64 |d with t|wo |\end|
|00002230| 5f 6c 69 6e 65 7c 2e 0a | 54 68 65 6e 20 74 68 65 |_line|..|Then the|
|00002240| 20 66 69 72 73 74 20 7c | 5c 65 6e 64 5f 6c 69 6e | first ||\end_lin|
|00002250| 65 7c 20 69 73 20 74 68 | 65 20 66 69 72 73 74 20 |e| is th|e first |
|00002260| 61 72 67 75 6d 65 6e 74 | 20 66 6f 72 20 7c 5c 70 |argument| for |\p|
|00002270| 72 69 6e 74 5f 63 68 61 | 72 7c 20 61 6e 64 0a 74 |rint_cha|r| and.t|
|00002280| 68 65 20 73 65 63 6f 6e | 64 20 61 72 67 75 6d 65 |he secon|d argume|
|00002290| 6e 74 20 69 73 20 65 6d | 70 74 79 2e 20 20 42 75 |nt is em|pty. Bu|
|000022a0| 74 20 69 66 20 74 68 65 | 20 6c 69 6e 65 20 64 69 |t if the| line di|
|000022b0| 64 20 63 6f 6e 74 61 69 | 6e 20 73 6f 6d 65 74 68 |d contai|n someth|
|000022c0| 69 6e 67 2c 0a 74 68 65 | 20 73 65 63 6f 6e 64 20 |ing,.the| second |
|000022d0| 7c 5c 65 6e 64 5f 6c 69 | 6e 65 7c 20 69 73 20 65 ||\end_li|ne| is e|
|000022e0| 76 61 6c 75 61 74 65 64 | 2c 20 66 6f 72 20 74 68 |valuated|, for th|
|000022f0| 69 73 20 63 61 73 65 20 | 69 74 20 69 73 20 64 65 |is case |it is de|
|00002300| 66 69 6e 65 64 20 61 73 | 0a 7c 5c 72 65 6c 61 78 |fined as|.|\relax|
|00002310| 7c 2e 0a 0a 41 74 20 6c | 61 73 74 20 77 65 20 63 ||...At l|ast we c|
|00002320| 61 6c 6c 20 7c 5c 73 65 | 74 5f 6e 65 78 74 5f 6c |all |\se|t_next_l|
|00002330| 69 6e 65 7c 20 61 67 61 | 69 6e 20 74 6f 20 66 6f |ine| aga|in to fo|
|00002340| 72 6d 61 74 20 74 68 65 | 20 6e 65 78 74 20 6c 69 |rmat the| next li|
|00002350| 6e 65 2e 20 20 49 66 0a | 74 68 65 20 65 6e 64 20 |ne. If.|the end |
|00002360| 69 73 20 72 65 61 63 68 | 65 64 2c 20 69 2e 65 2e |is reach|ed, i.e.|
|00002370| 5c 20 69 66 20 61 20 6c | 69 6e 65 20 77 69 74 68 |\ if a l|ine with|
|00002380| 20 7c 5c 65 6e 64 70 72 | 6f 67 7c 20 77 61 73 20 | |\endpr|og| was |
|00002390| 66 6f 75 6e 64 2c 0a 7c | 5c 73 65 74 5f 6e 65 78 |found,.||\set_nex|
|000023a0| 74 5f 6c 69 6e 65 7c 20 | 69 73 20 72 65 64 65 66 |t_line| |is redef|
|000023b0| 69 6e 65 64 20 61 73 20 | 7c 5c 72 65 6c 61 78 7c |ined as ||\relax||
|000023c0| 2e 20 20 54 68 69 73 20 | 63 61 6e 20 62 65 20 64 |. This |can be d|
|000023d0| 6f 6e 65 20 62 65 63 61 | 75 73 65 0a 74 68 65 20 |one beca|use.the |
|000023e0| 6f 72 69 67 69 6e 61 6c | 20 6d 65 61 6e 69 6e 67 |original| meaning|
|000023f0| 20 69 73 20 72 65 73 74 | 6f 72 65 64 20 77 68 69 | is rest|ored whi|
|00002400| 6c 65 20 63 6c 6f 73 69 | 6e 67 20 74 68 65 20 67 |le closi|ng the g|
|00002410| 72 6f 75 70 20 77 69 74 | 68 0a 7c 5c 65 6e 64 5f |roup wit|h.|\end_|
|00002420| 76 65 72 62 61 74 69 6d | 7c 2e 0a 0a 5c 62 65 67 |verbatim||...\beg|
|00002430| 69 6e 70 72 6f 67 0a 5c | 62 65 67 69 6e 67 72 6f |inprog.\|begingro|
|00002440| 75 70 0a 20 20 20 5c 6f | 62 65 79 6c 69 6e 65 73 |up. \o|beylines|
|00002450| 25 20 20 20 20 20 20 20 | 20 20 20 25 20 5e 5e 4d |% | % ^^M|
|00002460| 20 69 73 20 61 63 74 69 | 76 65 21 20 3d 3d 3e 20 | is acti|ve! ==> |
|00002470| 65 76 65 72 79 20 6c 69 | 6e 65 20 6d 75 73 74 20 |every li|ne must |
|00002480| 65 6e 64 20 77 69 74 68 | 20 25 0a 20 20 20 5c 67 |end with| %. \g|
|00002490| 64 65 66 5c 69 67 6e 6f | 72 65 5f 72 65 73 74 5f |def\igno|re_rest_|
|000024a0| 6c 69 6e 65 23 31 5e 5e | 4d 7b 5c 73 65 74 5f 6e |line#1^^|M{\set_n|
|000024b0| 65 78 74 5f 6c 69 6e 65 | 7d 25 0a 20 20 20 5c 67 |ext_line|}%. \g|
|000024c0| 64 65 66 5c 73 65 74 5f | 6e 65 78 74 5f 6c 69 6e |def\set_|next_lin|
|000024d0| 65 23 31 5e 5e 4d 7b 5c | 64 6f 5f 73 65 74 7b 23 |e#1^^M{\|do_set{#|
|000024e0| 31 7d 7d 25 0a 5c 65 6e | 64 67 72 6f 75 70 0a 0a |1}}%.\en|dgroup..|
|000024f0| 5c 64 65 66 5c 64 6f 5f | 73 65 74 23 31 7b 25 0a |\def\do_|set#1{%.|
|00002500| 20 20 20 5c 65 6e 64 67 | 72 61 66 0a 20 20 20 5c | \endg|raf. \|
|00002510| 63 68 65 63 6b 5f 70 72 | 69 6e 74 7b 23 31 7d 25 |check_pr|int{#1}%|
|00002520| 0a 20 20 20 5c 69 66 40 | 70 72 69 6e 74 20 20 5c |. \if@|print \|
|00002530| 69 6e 64 65 6e 74 20 5c | 70 72 69 6e 74 5f 63 68 |indent \|print_ch|
|00002540| 61 72 23 31 5c 65 6e 64 | 5f 6c 69 6e 65 5c 65 6e |ar#1\end|_line\en|
|00002550| 64 5f 6c 69 6e 65 0a 20 | 20 20 5c 65 6c 73 65 20 |d_line. | \else |
|00002560| 20 5c 6c 65 74 5c 73 65 | 74 5f 6e 65 78 74 5f 6c | \let\se|t_next_l|
|00002570| 69 6e 65 5c 65 6e 64 5f | 76 65 72 62 61 74 69 6d |ine\end_|verbatim|
|00002580| 0a 20 20 20 5c 66 69 0a | 20 20 20 5c 73 65 74 5f |. \fi.| \set_|
|00002590| 6e 65 78 74 5f 6c 69 6e | 65 0a 20 20 20 7d 0a 5c |next_lin|e. }.\|
|000025a0| 6c 65 74 5c 65 6e 64 5f | 6c 69 6e 65 3d 5c 72 65 |let\end_|line=\re|
|000025b0| 6c 61 78 0a 5c 65 6e 64 | 70 72 6f 67 0a 0a 0a 5c |lax.\end|prog...\|
|000025c0| 73 65 63 74 20 42 65 66 | 6f 72 65 20 77 65 20 6c |sect Bef|ore we l|
|000025d0| 6f 6f 6b 20 61 74 20 74 | 68 65 20 70 72 6f 62 6c |ook at t|he probl|
|000025e0| 65 6d 20 6f 66 20 66 6f | 72 6d 61 74 74 69 6e 67 |em of fo|rmatting|
|000025f0| 20 61 20 6c 69 6e 65 2c | 20 77 65 20 64 65 63 6c | a line,| we decl|
|00002600| 61 72 65 0a 7c 5c 63 68 | 65 63 6b 5f 70 72 69 6e |are.|\ch|eck_prin|
|00002610| 74 7c 20 74 68 61 74 20 | 63 68 65 63 6b 73 20 74 |t| that |checks t|
|00002620| 68 65 20 65 6e 64 20 6f | 66 20 74 68 65 20 76 65 |he end o|f the ve|
|00002630| 72 62 61 74 69 6d 20 6d | 6f 64 65 2e 20 20 57 65 |rbatim m|ode. We|
|00002640| 20 68 61 76 65 20 74 6f | 0a 64 6f 20 74 77 6f 20 | have to|.do two |
|00002650| 74 68 69 6e 67 73 3a 20 | 20 77 65 20 6d 75 73 74 |things: | we must|
|00002660| 20 73 70 6c 69 74 20 65 | 76 65 72 79 74 68 69 6e | split e|verythin|
|00002670| 67 20 69 6e 20 66 72 6f | 6e 74 20 6f 66 20 74 68 |g in fro|nt of th|
|00002680| 65 20 66 69 72 73 74 20 | 62 6c 61 6e 6b 0a 6f 72 |e first |blank.or|
|00002690| 20 74 61 62 75 6c 61 72 | 20 63 68 61 72 61 63 74 | tabular| charact|
|000026a0| 65 72 20 61 6e 64 20 63 | 6f 6d 70 61 72 65 20 66 |er and c|ompare f|
|000026b0| 6f 72 20 69 64 65 6e 74 | 69 74 79 20 77 69 74 68 |or ident|ity with|
|000026c0| 20 7c 5c 65 6e 64 70 72 | 6f 67 7c 2e 20 20 54 68 | |\endpr|og|. Th|
|000026d0| 65 0a 73 70 6c 69 74 74 | 69 6e 67 20 69 73 20 65 |e.splitt|ing is e|
|000026e0| 61 73 79 20 62 65 63 61 | 75 73 65 20 74 68 65 20 |asy beca|use the |
|000026f0| 6c 69 6e 65 20 77 68 69 | 63 68 20 69 73 20 6f 75 |line whi|ch is ou|
|00002700| 72 20 66 69 72 73 74 20 | 61 72 67 75 6d 65 6e 74 |r first |argument|
|00002710| 0a 63 6f 6e 74 61 69 6e | 73 20 62 6c 61 6e 6b 73 |.contain|s blanks|
|00002720| 20 61 6e 64 20 74 61 62 | 75 6c 61 74 6f 72 73 20 | and tab|ulators |
|00002730| 61 73 20 61 63 74 69 76 | 65 20 63 68 61 72 61 63 |as activ|e charac|
|00002740| 74 65 72 73 2e 20 20 46 | 69 72 73 74 20 77 65 20 |ters. F|irst we |
|00002750| 63 61 6c 6c 0a 7c 5c 63 | 75 74 5f 61 74 5f 74 61 |call.|\c|ut_at_ta|
|00002760| 62 7c 20 74 68 61 74 20 | 64 65 6d 61 6e 64 73 20 |b| that |demands |
|00002770| 61 20 74 61 62 75 6c 61 | 72 20 63 68 61 72 61 63 |a tabula|r charac|
|00002780| 74 65 72 20 61 73 20 73 | 65 70 61 72 61 74 6f 72 |ter as s|eparator|
|00002790| 20 66 6f 72 20 69 74 73 | 0a 74 77 6f 20 70 72 61 | for its|.two pra|
|000027a0| 6d 65 6e 74 65 72 73 20 | 73 6f 20 74 68 61 74 20 |menters |so that |
|000027b0| 65 76 65 72 79 74 68 69 | 6e 67 20 69 6e 20 74 68 |everythi|ng in th|
|000027c0| 65 20 6c 69 6e 65 20 69 | 6e 20 66 72 6f 6e 74 20 |e line i|n front |
|000027d0| 6f 66 20 74 68 65 20 66 | 69 72 73 74 0a 74 61 62 |of the f|irst.tab|
|000027e0| 75 6c 61 74 6f 72 20 69 | 73 20 70 61 72 74 20 6f |ulator i|s part o|
|000027f0| 66 20 74 68 65 20 66 69 | 72 73 74 20 70 61 72 61 |f the fi|rst para|
|00002800| 6d 65 74 65 72 2e 20 20 | 49 66 20 74 68 65 72 65 |meter. |If there|
|00002810| 20 69 73 20 6e 6f 20 74 | 61 62 75 6c 61 72 0a 63 | is no t|abular.c|
|00002820| 68 61 72 61 63 74 65 72 | 20 69 6e 20 74 68 65 20 |haracter| in the |
|00002830| 6c 69 6e 65 2c 20 77 65 | 20 61 70 70 65 6e 64 20 |line, we| append |
|00002840| 6f 6e 65 20 73 6f 20 74 | 68 61 74 20 74 68 65 20 |one so t|hat the |
|00002850| 73 65 63 6f 6e 64 20 70 | 61 72 61 6d 65 74 65 72 |second p|arameter|
|00002860| 20 69 73 0a 65 6d 70 74 | 79 2e 20 20 54 68 65 20 | is.empt|y. The |
|00002870| 73 61 6d 65 20 74 72 69 | 63 6b 20 69 73 20 75 73 |same tri|ck is us|
|00002880| 65 64 20 74 6f 20 73 65 | 70 61 72 61 74 65 20 74 |ed to se|parate t|
|00002890| 68 65 20 70 61 72 74 20 | 69 6e 20 66 72 6f 6e 74 |he part |in front|
|000028a0| 20 6f 66 20 74 68 65 0a | 66 69 72 73 74 20 62 6c | of the.|first bl|
|000028b0| 61 6e 6b 20 63 68 61 72 | 61 63 74 65 72 20 66 72 |ank char|acter fr|
|000028c0| 6f 6d 20 74 68 65 20 72 | 65 73 75 6c 74 69 6e 67 |om the r|esulting|
|000028d0| 20 66 69 72 73 74 20 70 | 61 72 74 2e 0a 0a 54 68 | first p|art...Th|
|000028e0| 65 20 63 68 65 63 6b 20 | 69 73 20 64 6f 6e 65 20 |e check |is done |
|000028f0| 77 69 74 68 20 7c 5c 64 | 6f 5f 63 68 65 63 6b 7c |with |\d|o_check||
|00002900| 2e 20 20 57 65 20 75 73 | 65 20 61 20 73 65 70 61 |. We us|e a sepa|
|00002910| 72 61 74 65 20 6d 61 63 | 72 6f 20 68 65 72 65 20 |rate mac|ro here |
|00002920| 73 6f 0a 74 68 61 74 20 | 77 65 20 63 61 6e 20 69 |so.that |we can i|
|00002930| 6e 64 65 6e 74 20 69 74 | 20 28 69 6e 20 74 68 65 |ndent it| (in the|
|00002940| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 64 65 66 69 6e | followi|ng defin|
|00002950| 69 74 69 6f 6e 20 62 6c | 61 6e 6b 73 20 61 72 65 |ition bl|anks are|
|00002960| 20 61 63 74 69 76 65 21 | 29 0a 0a 5c 62 65 67 69 | active!|)..\begi|
|00002970| 6e 70 72 6f 67 0a 5c 62 | 65 67 69 6e 67 72 6f 75 |nprog.\b|egingrou|
|00002980| 70 0a 5c 6f 62 65 79 73 | 70 61 63 65 73 5c 6f 62 |p.\obeys|paces\ob|
|00002990| 65 79 74 61 62 73 0a 5c | 67 64 65 66 5c 63 68 65 |eytabs.\|gdef\che|
|000029a0| 63 6b 5f 70 72 69 6e 74 | 23 31 7b 5c 63 75 74 5f |ck_print|#1{\cut_|
|000029b0| 61 74 5f 74 61 62 23 31 | 5e 5e 49 5c 65 6e 64 5f |at_tab#1|^^I\end_|
|000029c0| 6c 69 6e 65 7d 0a 5c 67 | 64 65 66 5c 63 75 74 5f |line}.\g|def\cut_|
|000029d0| 61 74 5f 74 61 62 23 31 | 5e 5e 49 23 32 5c 65 6e |at_tab#1|^^I#2\en|
|000029e0| 64 5f 6c 69 6e 65 7b 5c | 63 68 65 63 6b 5f 66 69 |d_line{\|check_fi|
|000029f0| 72 73 74 5f 70 61 72 74 | 23 31 20 5c 65 6e 64 5f |rst_part|#1 \end_|
|00002a00| 6c 69 6e 65 7d 25 20 62 | 6c 61 6e 6b 20 21 0a 5c |line}% b|lank !.\|
|00002a10| 67 64 65 66 5c 63 68 65 | 63 6b 5f 66 69 72 73 74 |gdef\che|ck_first|
|00002a20| 5f 70 61 72 74 23 31 20 | 23 32 5c 65 6e 64 5f 6c |_part#1 |#2\end_l|
|00002a30| 69 6e 65 7b 5c 64 6f 5f | 63 68 65 63 6b 7b 23 31 |ine{\do_|check{#1|
|00002a40| 7d 7d 0a 5c 65 6e 64 67 | 72 6f 75 70 0a 5c 65 6e |}}.\endg|roup.\en|
|00002a50| 64 70 72 6f 67 0a 0a 0a | 5c 73 65 63 74 20 7c 5c |dprog...|\sect |\|
|00002a60| 64 6f 5f 63 68 65 63 6b | 7c 20 63 6f 6d 70 61 72 |do_check|| compar|
|00002a70| 65 73 20 74 68 65 20 6c | 69 6e 65 20 77 69 74 68 |es the l|ine with|
|00002a80| 20 61 20 73 61 6d 70 6c | 65 20 6c 69 6e 65 20 74 | a sampl|e line t|
|00002a90| 68 61 74 20 69 73 0a 61 | 76 61 69 6c 61 62 6c 65 |hat is.a|vailable|
|00002aa0| 20 69 6e 20 7c 5c 40 65 | 6e 64 76 65 72 62 61 74 | in |\@e|ndverbat|
|00002ab0| 69 6d 7c 2e 20 20 44 75 | 72 69 6e 67 20 74 68 65 |im|. Du|ring the|
|00002ac0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 6f 66 0a 7c | definit|ion of.||
|00002ad0| 5c 40 65 6e 64 76 65 72 | 62 61 74 69 6d 7c 20 69 |\@endver|batim| i|
|00002ae0| 74 20 6d 75 73 74 20 62 | 65 20 63 61 72 65 64 20 |t must b|e cared |
|00002af0| 66 6f 72 20 74 68 61 74 | 20 74 68 65 20 65 73 63 |for that| the esc|
|00002b00| 61 70 65 20 63 68 61 72 | 61 63 74 65 72 20 60 7c |ape char|acter `||
|00002b10| 5c 7c 27 0a 69 73 20 61 | 20 70 72 69 6e 74 61 62 |\|'.is a| printab|
|00002b20| 6c 65 20 63 68 61 72 61 | 63 74 65 72 3a 20 20 41 |le chara|cter: A|
|00002b30| 20 63 6f 6d 70 61 72 69 | 73 6f 6e 20 77 69 74 68 | compari|son with|
|00002b40| 20 7c 5c 69 66 78 7c 20 | 64 65 6d 61 6e 64 73 20 | |\ifx| |demands |
|00002b50| 69 64 65 6e 74 69 63 61 | 6c 0a 63 61 74 65 67 6f |identica|l.catego|
|00002b60| 72 79 20 63 6f 64 65 73 | 2e 20 20 41 73 20 61 20 |ry codes|. As a |
|00002b70| 74 65 6d 70 6f 72 61 72 | 79 20 65 73 63 61 70 65 |temporar|y escape|
|00002b80| 20 63 68 61 72 61 63 74 | 65 72 20 77 65 20 75 73 | charact|er we us|
|00002b90| 65 20 74 68 65 20 76 65 | 72 74 69 63 61 6c 0a 62 |e the ve|rtical.b|
|00002ba0| 61 72 2e 0a 0a 5c 62 65 | 67 69 6e 70 72 6f 67 0a |ar...\be|ginprog.|
|00002bb0| 5c 64 65 66 5c 64 6f 5f | 63 68 65 63 6b 23 31 7b |\def\do_|check#1{|
|00002bc0| 25 0a 20 20 20 5c 64 65 | 66 5c 40 6c 69 6e 65 7b |%. \de|f\@line{|
|00002bd0| 23 31 7d 25 0a 20 20 20 | 5c 69 66 78 20 5c 40 6c |#1}%. |\ifx \@l|
|00002be0| 69 6e 65 5c 40 65 6e 64 | 76 65 72 62 61 74 69 6d |ine\@end|verbatim|
|00002bf0| 20 20 5c 40 70 72 69 6e | 74 66 61 6c 73 65 0a 20 | \@prin|tfalse. |
|00002c00| 20 20 5c 66 69 0a 20 20 | 20 7d 0a 0a 7b 5c 63 61 | \fi. | }..{\ca|
|00002c10| 74 63 6f 64 65 60 5c 7c | 3d 5c 65 73 63 61 70 65 |tcode`\||=\escape|
|00002c20| 20 20 5c 63 61 74 63 6f | 64 65 60 5c 5c 3d 5c 6f | \catco|de`\\=\o|
|00002c30| 74 68 65 72 20 25 20 7c | 20 69 73 20 74 65 6d 70 |ther % || is temp|
|00002c40| 6f 72 61 72 79 20 65 73 | 63 61 70 65 20 63 68 61 |orary es|cape cha|
|00002c50| 72 0a 20 20 20 7c 67 64 | 65 66 7c 40 65 6e 64 76 |r. |gd|ef|@endv|
|00002c60| 65 72 62 61 74 69 6d 7b | 5c 65 6e 64 70 72 6f 67 |erbatim{|\endprog|
|00002c70| 7d 20 20 20 20 20 20 20 | 20 20 20 25 20 73 61 6d |} | % sam|
|00002c80| 70 6c 65 20 6c 69 6e 65 | 0a 7d 20 20 20 20 20 20 |ple line|.} |
|00002c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002cb0| 20 20 25 20 68 65 72 65 | 20 5c 65 6e 64 67 72 6f | % here| \endgro|
|00002cc0| 75 70 20 63 61 6e 27 74 | 20 62 65 20 75 73 65 64 |up can't| be used|
|00002cd0| 0a 5c 65 6e 64 70 72 6f | 67 0a 0a 0a 5c 73 65 63 |.\endpro|g...\sec|
|00002ce0| 74 20 4e 6f 77 20 77 65 | 20 63 61 6e 20 73 65 74 |t Now we| can set|
|00002cf0| 20 61 20 6c 69 6e 65 3a | 20 20 77 65 20 73 74 61 | a line:| we sta|
|00002d00| 72 74 20 77 69 74 68 20 | 74 68 65 20 66 69 72 73 |rt with |the firs|
|00002d10| 74 20 63 68 61 72 61 63 | 74 65 72 2c 0a 66 6f 6c |t charac|ter,.fol|
|00002d20| 6c 6f 77 65 64 20 62 79 | 20 74 68 65 20 72 65 73 |lowed by| the res|
|00002d30| 74 20 6f 66 20 74 68 65 | 20 6c 69 6e 65 2e 20 20 |t of the| line. |
|00002d40| 45 61 63 68 20 63 68 61 | 72 61 63 74 65 72 20 69 |Each cha|racter i|
|00002d50| 73 20 63 6f 75 6e 74 65 | 64 20 69 6e 0a 7c 5c 63 |s counte|d in.|\c|
|00002d60| 68 61 72 5f 63 6f 75 6e | 74 7c 2e 20 20 41 74 20 |har_coun|t|. At |
|00002d70| 74 68 65 20 62 65 67 69 | 6e 6e 69 6e 67 20 6f 66 |the begi|nning of|
|00002d80| 20 61 20 6c 69 6e 65 20 | 7c 5c 63 68 61 72 5f 63 | a line ||\char_c|
|00002d90| 6f 75 6e 74 7c 20 69 73 | 7e 31 2c 20 74 68 69 73 |ount| is|~1, this|
|00002da0| 0a 69 73 20 72 65 73 65 | 74 20 61 74 20 74 68 65 |.is rese|t at the|
|00002db0| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 6c 69 6e 65 | end of |the line|
|00002dc0| 2e 0a 0a 5c 67 6f 6f 64 | 62 72 65 61 6b 0a 0a 5c |...\good|break..\|
|00002dd0| 62 65 67 69 6e 70 72 6f | 67 0a 5c 6e 65 77 63 6f |beginpro|g.\newco|
|00002de0| 75 6e 74 5c 63 68 61 72 | 5f 63 6f 75 6e 74 20 20 |unt\char|_count |
|00002df0| 5c 63 68 61 72 5f 63 6f | 75 6e 74 5c 40 6e 65 0a |\char_co|unt\@ne.|
|00002e00| 0a 5c 64 65 66 5c 70 72 | 69 6e 74 5f 63 68 61 72 |.\def\pr|int_char|
|00002e10| 23 31 23 32 5c 65 6e 64 | 5f 6c 69 6e 65 7b 25 0a |#1#2\end|_line{%.|
|00002e20| 20 20 20 5c 70 72 69 6e | 74 5f 66 69 72 73 74 5f | \prin|t_first_|
|00002e30| 63 68 61 72 7b 23 31 7d | 25 0a 20 20 20 5c 70 72 |char{#1}|%. \pr|
|00002e40| 69 6e 74 5f 72 65 73 74 | 5f 6f 66 5f 6c 69 6e 65 |int_rest|_of_line|
|00002e50| 7b 23 32 7d 25 0a 20 20 | 20 7d 0a 5c 65 6e 64 70 |{#2}%. | }.\endp|
|00002e60| 72 6f 67 0a 0a 0a 5c 73 | 65 63 74 20 46 6f 72 20 |rog...\s|ect For |
|00002e70| 65 61 63 68 20 63 68 61 | 72 61 63 74 65 72 20 74 |each cha|racter t|
|00002e80| 68 61 74 20 69 73 20 73 | 65 74 20 7c 5c 63 68 61 |hat is s|et |\cha|
|00002e90| 72 5f 63 6f 75 6e 74 7c | 20 69 73 20 69 6e 63 72 |r_count|| is incr|
|00002ea0| 65 6d 65 6e 74 65 64 2e | 0a 49 66 20 61 20 63 68 |emented.|.If a ch|
|00002eb0| 61 72 61 63 74 65 72 20 | 69 73 20 61 20 74 61 62 |aracter |is a tab|
|00002ec0| 75 6c 61 74 6f 72 2c 20 | 77 65 20 73 65 74 20 77 |ulator, |we set w|
|00002ed0| 69 74 68 20 7c 5c 70 72 | 69 6e 74 5f 74 61 62 7c |ith |\pr|int_tab||
|00002ee0| 20 74 68 65 20 66 69 74 | 74 69 6e 67 0a 61 6d 6f | the fit|ting.amo|
|00002ef0| 75 6e 74 20 6f 66 20 62 | 6c 61 6e 6b 20 63 68 61 |unt of b|lank cha|
|00002f00| 72 61 63 74 65 72 73 2c | 20 6f 74 68 65 72 77 69 |racters,| otherwi|
|00002f10| 73 65 20 74 68 65 20 63 | 68 61 72 61 63 74 65 72 |se the c|haracter|
|00002f20| 20 69 74 73 65 6c 66 2e | 20 20 57 65 20 6d 75 73 | itself.| We mus|
|00002f30| 74 0a 63 6f 6d 70 61 72 | 65 20 74 68 65 20 63 68 |t.compar|e the ch|
|00002f40| 61 72 61 63 74 65 72 20 | 74 68 61 74 20 69 73 20 |aracter |that is |
|00002f50| 73 74 6f 72 65 64 20 69 | 6e 20 7c 5c 40 63 68 61 |stored i|n |\@cha|
|00002f60| 72 7c 20 77 69 74 68 20 | 61 20 6d 61 63 72 6f 20 |r| with |a macro |
|00002f70| 6f 66 20 77 68 69 63 68 | 0a 74 68 65 20 60 60 66 |of which|.the ``f|
|00002f80| 69 72 73 74 2d 6c 65 76 | 65 6c 27 27 20 65 78 70 |irst-lev|el'' exp|
|00002f90| 61 6e 73 69 6f 6e 20 69 | 73 20 61 6e 20 61 63 74 |ansion i|s an act|
|00002fa0| 69 76 65 20 74 61 62 75 | 6c 61 74 6f 72 2e 20 20 |ive tabu|lator. |
|00002fb0| 46 6f 72 20 74 68 69 73 | 20 63 61 73 65 0a 77 65 |For this| case.we|
|00002fc0| 20 64 65 63 6c 61 72 65 | 20 7c 5c 40 74 61 62 7c | declare| |\@tab||
|00002fd0| 2e 0a 0a 5c 62 65 67 69 | 6e 70 72 6f 67 0a 7b 5c |...\begi|nprog.{\|
|00002fe0| 6f 62 65 79 74 61 62 73 | 5c 67 64 65 66 5c 40 74 |obeytabs|\gdef\@t|
|00002ff0| 61 62 7b 5e 5e 49 7d 7d | 0a 0a 5c 64 65 66 5c 70 |ab{^^I}}|..\def\p|
|00003000| 72 69 6e 74 5f 66 69 72 | 73 74 5f 63 68 61 72 23 |rint_fir|st_char#|
|00003010| 31 7b 25 0a 20 20 20 5c | 64 65 66 5c 40 63 68 61 |1{%. \|def\@cha|
|00003020| 72 7b 23 31 7d 25 0a 20 | 20 20 5c 61 64 76 61 6e |r{#1}%. | \advan|
|00003030| 63 65 20 5c 63 68 61 72 | 5f 63 6f 75 6e 74 5c 40 |ce \char|_count\@|
|00003040| 6e 65 0a 20 20 20 5c 69 | 66 78 20 5c 40 63 68 61 |ne. \i|fx \@cha|
|00003050| 72 5c 40 74 61 62 20 20 | 5c 70 72 69 6e 74 5f 74 |r\@tab |\print_t|
|00003060| 61 62 0a 20 20 20 5c 65 | 6c 73 65 20 20 5c 40 63 |ab. \e|lse \@c|
|00003070| 68 61 72 0a 20 20 20 5c | 66 69 0a 20 20 20 7d 0a |har. \|fi. }.|
|00003080| 5c 65 6e 64 70 72 6f 67 | 0a 0a 0a 5c 73 65 63 74 |\endprog|...\sect|
|00003090| 20 49 66 20 77 65 20 77 | 61 6e 74 20 74 6f 20 66 | If we w|ant to f|
|000030a0| 69 6c 6c 20 74 68 65 20 | 6c 69 6e 65 20 77 69 74 |ill the |line wit|
|000030b0| 68 20 62 6c 61 6e 6b 20 | 73 70 61 63 65 73 20 75 |h blank |spaces u|
|000030c0| 70 20 74 6f 20 74 68 65 | 20 6e 65 78 74 0a 63 6f |p to the| next.co|
|000030d0| 6c 75 6d 6e 20 77 69 74 | 68 20 61 20 6e 75 6d 62 |lumn wit|h a numb|
|000030e0| 65 72 20 74 68 61 74 20 | 63 61 6e 20 62 65 20 64 |er that |can be d|
|000030f0| 69 76 69 64 65 64 20 62 | 79 7e 38 2c 20 77 65 20 |ivided b|y~8, we |
|00003100| 6d 75 73 74 20 62 65 20 | 61 62 6c 65 20 74 6f 0a |must be |able to.|
|00003110| 63 6f 6d 70 75 74 65 20 | 74 68 65 20 63 6f 6c 75 |compute |the colu|
|00003120| 6d 6e 20 6e 75 6d 62 65 | 72 20 6d 6f 64 75 6c 6f |mn numbe|r modulo|
|00003130| 7e 38 2c 20 62 75 74 20 | 5c 54 65 58 7b 7d 20 68 |~8, but |\TeX{} h|
|00003140| 61 73 20 6e 6f 20 6d 6f | 64 75 6c 6f 20 6f 70 65 |as no mo|dulo ope|
|00003150| 72 61 74 6f 72 2e 0a 53 | 6f 20 77 65 20 64 65 66 |rator..S|o we def|
|00003160| 69 6e 65 20 74 68 65 20 | 6d 61 63 72 6f 20 7c 5c |ine the |macro |\|
|00003170| 6d 6f 64 5f 76 69 69 69 | 7c 20 74 68 61 74 20 63 |mod_viii|| that c|
|00003180| 6f 6d 70 75 74 65 73 20 | 69 74 73 20 61 72 67 75 |omputes |its argu|
|00003190| 6d 65 6e 74 20 6d 6f 64 | 75 6c 6f 7e 38 0a 61 6e |ment mod|ulo~8.an|
|000031a0| 64 20 72 65 74 75 72 6e | 73 20 74 68 65 20 72 65 |d return|s the re|
|000031b0| 73 75 6c 74 20 69 6e 20 | 74 68 65 20 63 6f 75 6e |sult in |the coun|
|000031c0| 74 65 72 20 7c 5c 63 6f | 75 6e 74 5f 6d 6f 64 5f |ter |\co|unt_mod_|
|000031d0| 76 69 69 69 7c 2e 20 20 | 46 6f 72 20 74 68 65 0a |viii|. |For the.|
|000031e0| 63 6f 6d 70 75 74 61 74 | 69 6f 6e 20 77 65 20 6e |computat|ion we n|
|000031f0| 65 65 64 20 74 68 65 20 | 74 65 6d 70 6f 72 61 72 |eed the |temporar|
|00003200| 79 20 63 6f 75 6e 74 65 | 72 20 7c 5c 63 6f 75 6e |y counte|r |\coun|
|00003210| 74 40 7c 2e 0a 0a 5c 62 | 65 67 69 6e 70 72 6f 67 |t@|...\b|eginprog|
|00003220| 0a 5c 6e 65 77 63 6f 75 | 6e 74 5c 63 6f 75 6e 74 |.\newcou|nt\count|
|00003230| 5f 6d 6f 64 5f 76 69 69 | 69 0a 5c 64 65 66 5c 6d |_mod_vii|i.\def\m|
|00003240| 6f 64 5f 76 69 69 69 23 | 31 7b 25 0a 20 20 20 5c |od_viii#|1{%. \|
|00003250| 63 6f 75 6e 74 40 20 23 | 31 5c 72 65 6c 61 78 20 |count@ #|1\relax |
|00003260| 20 5c 63 6f 75 6e 74 5f | 6d 6f 64 5f 76 69 69 69 | \count_|mod_viii|
|00003270| 5c 63 6f 75 6e 74 40 0a | 20 20 20 5c 64 69 76 69 |\count@.| \divi|
|00003280| 64 65 20 5c 63 6f 75 6e | 74 40 20 38 5c 72 65 6c |de \coun|t@ 8\rel|
|00003290| 61 78 0a 20 20 20 5c 6d | 75 6c 74 69 70 6c 79 20 |ax. \m|ultiply |
|000032a0| 5c 63 6f 75 6e 74 40 20 | 38 5c 72 65 6c 61 78 0a |\count@ |8\relax.|
|000032b0| 20 20 20 5c 61 64 76 61 | 6e 63 65 20 5c 63 6f 75 | \adva|nce \cou|
|000032c0| 6e 74 5f 6d 6f 64 5f 76 | 69 69 69 20 2d 5c 63 6f |nt_mod_v|iii -\co|
|000032d0| 75 6e 74 40 0a 20 20 20 | 7d 0a 5c 65 6e 64 70 72 |unt@. |}.\endpr|
|000032e0| 6f 67 0a 0a 0a 5c 73 65 | 63 74 20 4e 6f 77 20 77 |og...\se|ct Now w|
|000032f0| 65 20 63 61 6e 20 64 65 | 63 6c 61 72 65 20 7c 5c |e can de|clare |\|
|00003300| 70 72 69 6e 74 5f 74 61 | 62 7c 2e 20 20 57 65 20 |print_ta|b|. We |
|00003310| 6d 75 73 74 20 72 65 6d | 65 6d 62 65 72 20 74 68 |must rem|ember th|
|00003320| 61 74 0a 7c 5c 63 68 61 | 72 5f 63 6f 75 6e 74 7c |at.|\cha|r_count||
|00003330| 20 77 61 73 20 69 6e 63 | 72 65 6d 65 6e 74 65 64 | was inc|remented|
|00003340| 20 61 6c 72 65 61 64 79 | 2c 20 69 66 20 77 65 20 | already|, if we |
|00003350| 73 65 74 20 6f 6e 6c 79 | 20 6f 6e 65 20 62 6c 61 |set only| one bla|
|00003360| 6e 6b 0a 63 68 61 72 61 | 63 74 65 72 20 74 68 65 |nk.chara|cter the|
|00003370| 20 63 6f 75 6e 74 65 72 | 20 6b 65 65 70 73 20 75 | counter| keeps u|
|00003380| 6e 74 6f 75 63 68 65 64 | 2e 0a 0a 5c 62 65 67 69 |ntouched|...\begi|
|00003390| 6e 70 72 6f 67 0a 5c 64 | 65 66 5c 70 72 69 6e 74 |nprog.\d|ef\print|
|000033a0| 5f 74 61 62 7b 25 0a 20 | 20 20 5c 6c 6f 6f 70 20 |_tab{%. | \loop |
|000033b0| 20 5c 73 70 61 63 65 20 | 5c 6d 6f 64 5f 76 69 69 | \space |\mod_vii|
|000033c0| 69 5c 63 68 61 72 5f 63 | 6f 75 6e 74 0a 20 20 20 |i\char_c|ount. |
|000033d0| 20 20 20 5c 69 66 6e 75 | 6d 20 5c 63 6f 75 6e 74 | \ifnu|m \count|
|000033e0| 5f 6d 6f 64 5f 76 69 69 | 69 3e 5c 7a 40 0a 20 20 |_mod_vii|i>\z@. |
|000033f0| 20 20 20 20 20 20 20 5c | 61 64 76 61 6e 63 65 20 | \|advance |
|00003400| 5c 63 68 61 72 5f 63 6f | 75 6e 74 5c 40 6e 65 0a |\char_co|unt\@ne.|
|00003410| 20 20 20 5c 72 65 70 65 | 61 74 0a 20 20 20 7d 0a | \repe|at. }.|
|00003420| 5c 65 6e 64 70 72 6f 67 | 0a 0a 0a 5c 73 65 63 74 |\endprog|...\sect|
|00003430| 20 49 66 20 74 68 65 20 | 72 65 73 74 20 6f 66 20 | If the |rest of |
|00003440| 74 68 65 20 6c 69 6e 65 | 20 69 73 20 65 6d 70 74 |the line| is empt|
|00003450| 79 2c 20 77 65 20 61 72 | 65 20 72 65 61 64 79 2e |y, we ar|e ready.|
|00003460| 20 20 7c 5c 63 68 61 72 | 5f 63 6f 75 6e 74 7c 0a | |\char|_count|.|
|00003470| 69 73 20 72 65 73 65 74 | 20 74 6f 7e 31 20 66 6f |is reset| to~1 fo|
|00003480| 72 20 74 68 65 20 6e 65 | 78 74 20 6c 69 6e 65 2e |r the ne|xt line.|
|00003490| 0a 0a 49 6e 73 69 64 65 | 20 74 68 65 20 7c 5c 65 |..Inside| the |\e|
|000034a0| 6c 73 65 7c 20 70 61 72 | 74 20 6f 66 20 7c 5c 69 |lse| par|t of |\i|
|000034b0| 66 78 7c 20 7c 5c 70 72 | 69 6e 74 5f 63 68 61 72 |fx| |\pr|int_char|
|000034c0| 7c 20 73 68 6f 75 6c 64 | 20 6e 6f 74 20 62 65 20 || should| not be |
|000034d0| 75 73 65 64 0a 64 69 72 | 65 63 74 6c 79 20 62 65 |used.dir|ectly be|
|000034e0| 63 61 75 73 65 20 74 68 | 69 73 20 63 6f 73 74 73 |cause th|is costs|
|000034f0| 20 74 6f 6f 20 6d 75 63 | 68 20 73 74 6f 72 61 67 | too muc|h storag|
|00003500| 65 20 6f 66 20 5c 54 65 | 58 7b 7d 2e 20 20 49 6e |e of \Te|X{}. In|
|00003510| 73 74 65 61 64 20 77 65 | 0a 73 65 74 20 61 20 63 |stead we|.set a c|
|00003520| 6f 6e 74 72 6f 6c 20 73 | 65 71 75 65 6e 63 65 20 |ontrol s|equence |
|00003530| 7c 5c 6e 65 78 74 7c 20 | 74 68 61 74 20 69 73 20 ||\next| |that is |
|00003540| 70 72 6f 63 65 73 73 65 | 64 20 61 66 74 65 72 77 |processe|d afterw|
|00003550| 61 72 64 73 2c 20 64 65 | 70 65 6e 64 69 6e 67 0a |ards, de|pending.|
|00003560| 6f 6e 20 74 68 65 20 72 | 65 73 75 6c 74 20 6f 66 |on the r|esult of|
|00003570| 20 74 68 65 20 63 6f 6d | 70 61 72 69 73 6f 6e 2e | the com|parison.|
|00003580| 20 20 49 66 20 74 68 65 | 72 65 20 69 73 20 73 74 | If the|re is st|
|00003590| 69 6c 6c 20 73 6f 6d 65 | 74 68 69 6e 67 20 74 6f |ill some|thing to|
|000035a0| 20 73 65 74 2c 0a 77 65 | 20 75 73 65 20 7c 5c 70 | set,.we| use |\p|
|000035b0| 72 69 6e 74 5f 63 68 61 | 72 7c 20 61 67 61 69 6e |rint_cha|r| again|
|000035c0| 2c 20 6f 74 68 65 72 77 | 69 73 65 20 61 20 73 79 |, otherw|ise a sy|
|000035d0| 6e 74 61 63 74 69 63 61 | 6c 6c 79 20 73 69 6d 69 |ntactica|lly simi|
|000035e0| 6c 61 72 20 6d 61 63 72 | 6f 0a 74 68 61 74 20 65 |lar macr|o.that e|
|000035f0| 78 70 61 6e 64 73 20 74 | 6f 20 7c 5c 72 65 6c 61 |xpands t|o |\rela|
|00003600| 78 7c 2e 0a 0a 5c 62 65 | 67 69 6e 70 72 6f 67 0a |x|...\be|ginprog.|
|00003610| 5c 64 65 66 5c 70 72 69 | 6e 74 5f 72 65 73 74 5f |\def\pri|nt_rest_|
|00003620| 6f 66 5f 6c 69 6e 65 23 | 31 7b 25 0a 20 20 20 5c |of_line#|1{%. \|
|00003630| 64 65 66 5c 40 6c 69 6e | 65 7b 23 31 7d 25 0a 20 |def\@lin|e{#1}%. |
|00003640| 20 20 5c 69 66 78 20 5c | 40 6c 69 6e 65 5c 65 6d | \ifx \|@line\em|
|00003650| 70 74 79 20 20 5c 63 68 | 61 72 5f 63 6f 75 6e 74 |pty \ch|ar_count|
|00003660| 5c 40 6e 65 0a 20 20 20 | 20 20 20 20 20 5c 64 65 |\@ne. | \de|
|00003670| 66 5c 6e 65 78 74 23 23 | 31 5c 65 6e 64 5f 6c 69 |f\next##|1\end_li|
|00003680| 6e 65 7b 5c 72 65 6c 61 | 78 7d 25 0a 20 20 20 5c |ne{\rela|x}%. \|
|00003690| 65 6c 73 65 20 20 5c 6c | 65 74 5c 6e 65 78 74 5c |else \l|et\next\|
|000036a0| 70 72 69 6e 74 5f 63 68 | 61 72 0a 20 20 20 5c 66 |print_ch|ar. \f|
|000036b0| 69 0a 20 20 20 5c 6e 65 | 78 74 23 31 5c 65 6e 64 |i. \ne|xt#1\end|
|000036c0| 5f 6c 69 6e 65 0a 20 20 | 20 7d 0a 5c 65 6e 64 70 |_line. | }.\endp|
|000036d0| 72 6f 67 0a 0a 0a 0a 0a | 5c 63 68 61 70 20 44 6f |rog.....|\chap Do|
|000036e0| 63 75 6d 65 6e 74 20 53 | 74 72 75 63 74 75 72 69 |cument S|tructuri|
|000036f0| 6e 67 2e 0a 0a 54 68 65 | 20 6c 61 79 6f 75 74 20 |ng...The| layout |
|00003700| 6f 66 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 20 |of the d|ocument |
|00003710| 73 68 61 6c 6c 20 62 65 | 20 6c 69 6b 65 20 69 6e |shall be| like in|
|00003720| 20 5c 57 45 42 7b 7d 2e | 20 20 54 68 69 73 20 63 | \WEB{}.| This c|
|00003730| 61 6e 20 62 65 20 64 6f | 6e 65 0a 65 61 73 69 6c |an be do|ne.easil|
|00003740| 79 20 69 6e 20 50 6c 61 | 69 6e 2e 20 20 49 66 20 |y in Pla|in. If |
|00003750| 5c 4c 61 54 65 58 7b 7d | 20 73 68 61 6c 6c 20 62 |\LaTeX{}| shall b|
|00003760| 65 20 75 73 65 64 20 66 | 6f 72 20 74 68 65 20 64 |e used f|or the d|
|00003770| 6f 63 75 6d 65 6e 74 0a | 70 72 65 70 61 72 61 74 |ocument.|preparat|
|00003780| 69 6f 6e 2c 20 74 68 69 | 73 20 70 61 72 74 20 6f |ion, thi|s part o|
|00003790| 66 20 74 68 65 20 6d 61 | 63 72 6f 20 6d 75 73 74 |f the ma|cro must|
|000037a0| 20 62 65 20 65 6c 69 6d | 69 6e 61 74 65 64 2e 20 | be elim|inated. |
|000037b0| 20 49 74 20 77 69 6c 6c | 20 61 6c 73 6f 0a 62 65 | It will| also.be|
|000037c0| 20 62 65 74 74 65 72 20 | 74 6f 20 69 6e 63 6c 75 | better |to inclu|
|000037d0| 64 65 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 70 |de the p|rogram p|
|000037e0| 61 72 74 73 20 5c 4c 61 | 54 65 58 2d 6c 69 6b 65 |arts \La|TeX-like|
|000037f0| 20 61 73 20 61 6e 20 65 | 6e 76 69 72 6f 6e 6d 65 | as an e|nvironme|
|00003800| 6e 74 0a 62 65 74 77 65 | 65 6e 20 7c 5c 62 65 67 |nt.betwe|en |\beg|
|00003810| 69 6e 7b 70 72 6f 67 7d | 7c 20 61 6e 64 20 7c 5c |in{prog}|| and |\|
|00003820| 65 6e 64 7b 70 72 6f 67 | 7d 7c 20 61 6e 64 20 74 |end{prog|}| and t|
|00003830| 6f 20 64 65 66 69 6e 65 | 20 63 6f 6e 74 72 6f 6c |o define| control|
|00003840| 0a 73 65 71 75 65 6e 63 | 65 73 20 7c 5c 6d 61 6b |.sequenc|es |\mak|
|00003850| 65 62 61 72 61 63 74 69 | 76 65 7c 20 61 6e 64 20 |ebaracti|ve| and |
|00003860| 7c 5c 6d 61 6b 65 62 61 | 72 6f 74 68 65 72 7c 20 ||\makeba|rother| |
|00003870| 66 6f 72 20 74 68 65 20 | 73 77 69 74 63 68 20 6f |for the |switch o|
|00003880| 66 20 74 68 65 0a 73 70 | 65 63 69 61 6c 20 6d 65 |f the.sp|ecial me|
|00003890| 61 6e 69 6e 67 20 6f 66 | 20 74 68 65 20 76 65 72 |aning of| the ver|
|000038a0| 74 69 63 61 6c 20 62 61 | 72 20 28 60 7b 5c 74 74 |tical ba|r (`{\tt|
|000038b0| 20 5c 6f 72 69 67 76 65 | 72 74 5c 2f 7d 27 29 20 | \origve|rt\/}') |
|000038c0| 28 66 6f 72 20 74 68 65 | 0a 7b 5c 74 74 20 74 61 |(for the|.{\tt ta|
|000038d0| 62 75 6c 61 72 5c 2f 7d | 20 65 6e 76 69 72 6f 6e |bular\/}| environ|
|000038e0| 6d 65 6e 74 21 29 0a 0a | 41 6c 6c 20 73 65 63 74 |ment!)..|All sect|
|000038f0| 69 6f 6e 73 20 61 72 65 | 20 65 6e 75 6d 65 72 61 |ions are| enumera|
|00003900| 74 65 64 2c 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |ted, the| number |
|00003910| 6f 66 20 74 68 65 20 6e | 65 78 74 20 73 65 63 74 |of the n|ext sect|
|00003920| 69 6f 6e 20 69 73 20 73 | 74 6f 72 65 64 0a 69 6e |ion is s|tored.in|
|00003930| 20 74 68 65 20 63 6f 75 | 6e 74 65 72 20 7c 5c 73 | the cou|nter |\s|
|00003940| 65 63 74 6e 6f 7c 2e 20 | 20 57 65 20 64 69 66 66 |ectno|. | We diff|
|00003950| 65 72 65 6e 63 69 61 74 | 65 20 62 65 74 77 65 65 |erenciat|e betwee|
|00003960| 6e 20 6d 61 69 6e 20 73 | 65 63 74 69 6f 6e 73 0a |n main s|ections.|
|00003970| 77 68 69 63 68 20 73 74 | 61 72 74 20 61 20 67 72 |which st|art a gr|
|00003980| 6f 75 70 20 6f 66 20 73 | 65 63 74 69 6f 6e 73 20 |oup of s|ections |
|00003990| 61 6e 64 20 62 65 74 77 | 65 65 6e 20 6e 6f 72 6d |and betw|een norm|
|000039a0| 61 6c 20 73 65 63 74 69 | 6f 6e 73 20 77 69 74 68 |al secti|ons with|
|000039b0| 69 6e 20 61 0a 67 72 6f | 75 70 2e 0a 0a 5c 62 65 |in a.gro|up...\be|
|000039c0| 67 69 6e 70 72 6f 67 0a | 5c 6e 65 77 63 6f 75 6e |ginprog.|\newcoun|
|000039d0| 74 5c 73 65 63 74 6e 6f | 20 20 5c 73 65 63 74 6e |t\sectno| \sectn|
|000039e0| 6f 3d 5c 40 6e 65 0a 5c | 65 6e 64 70 72 6f 67 0a |o=\@ne.\|endprog.|
|000039f0| 0a 0a 5c 73 65 63 74 20 | 54 68 65 20 6d 61 69 6e |..\sect |The main|
|00003a00| 20 73 65 63 74 69 6f 6e | 73 20 61 72 65 20 73 74 | section|s are st|
|00003a10| 61 72 74 65 64 20 77 69 | 74 68 20 74 68 65 20 6d |arted wi|th the m|
|00003a20| 61 63 72 6f 20 7c 5c 63 | 68 61 70 7c 20 74 68 61 |acro |\c|hap| tha|
|00003a30| 74 20 68 61 73 0a 6f 6e | 65 20 70 61 72 61 6d 65 |t has.on|e parame|
|00003a40| 74 65 72 2c 20 74 68 65 | 20 74 69 74 6c 65 20 6f |ter, the| title o|
|00003a50| 66 20 74 68 65 20 73 65 | 63 74 69 6f 6e 20 67 72 |f the se|ction gr|
|00003a60| 6f 75 70 2e 20 20 54 68 | 69 73 20 70 61 72 61 6d |oup. Th|is param|
|00003a70| 65 74 65 72 20 6d 75 73 | 74 20 62 65 0a 74 65 72 |eter mus|t be.ter|
|00003a80| 6d 69 6e 61 74 65 64 20 | 62 79 20 61 20 64 6f 74 |minated |by a dot|
|00003a90| 2e 20 20 57 65 20 73 74 | 61 72 74 20 61 20 6e 65 |. We st|art a ne|
|00003aa0| 77 20 70 61 67 65 2c 20 | 74 79 70 65 73 65 74 20 |w page, |typeset |
|00003ab0| 74 68 65 20 74 69 74 6c | 65 20 69 6e 20 62 6f 6c |the titl|e in bol|
|00003ac0| 64 0a 66 61 63 65 20 61 | 6e 64 20 73 65 70 61 72 |d.face a|nd separ|
|00003ad0| 61 74 65 20 69 74 20 66 | 72 6f 6d 20 74 68 65 20 |ate it f|rom the |
|00003ae0| 73 65 63 74 69 6f 6e 20 | 74 65 78 74 20 77 69 74 |section |text wit|
|00003af0| 68 20 61 20 7c 5c 6d 65 | 64 73 6b 69 70 7c 2e 20 |h a |\me|dskip|. |
|00003b00| 20 54 68 69 73 0a 74 65 | 78 74 2c 20 74 68 65 20 | This.te|xt, the |
|00003b10| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 70 61 |document|ation pa|
|00003b20| 72 74 20 6f 66 20 74 68 | 65 20 73 65 63 74 69 6f |rt of th|e sectio|
|00003b30| 6e 2c 20 69 73 20 66 6f | 72 6d 61 74 74 65 64 20 |n, is fo|rmatted |
|00003b40| 77 69 74 68 6f 75 74 0a | 70 61 72 61 67 72 61 70 |without.|paragrap|
|00003b50| 68 20 69 6e 64 65 6e 74 | 61 74 69 6f 6e 2e 0a 0a |h indent|ation...|
|00003b60| 54 68 65 20 64 65 6c 65 | 74 69 6f 6e 20 6f 66 20 |The dele|tion of |
|00003b70| 74 68 65 20 70 61 72 61 | 67 72 61 70 68 20 69 6e |the para|graph in|
|00003b80| 64 65 6e 74 61 74 69 6f | 6e 20 69 73 20 64 6f 6e |dentatio|n is don|
|00003b90| 65 20 77 69 74 68 20 7c | 5c 65 76 65 72 79 70 61 |e with ||\everypa|
|00003ba0| 72 7c 2e 0a 57 65 20 64 | 6f 20 6e 6f 74 20 63 61 |r|..We d|o not ca|
|00003bb0| 72 65 20 69 66 20 7c 5c | 65 76 65 72 79 70 61 72 |re if |\|everypar|
|00003bc0| 7c 20 69 73 20 75 73 65 | 64 20 66 6f 72 20 73 6f || is use|d for so|
|00003bd0| 6d 65 74 68 69 6e 67 20 | 65 6c 73 65 20 61 6e 64 |mething |else and|
|00003be0| 20 64 65 6c 65 74 65 20 | 69 74 0a 61 66 74 65 72 | delete |it.after|
|00003bf0| 20 75 73 61 67 65 2e 0a | 0a 5c 62 65 67 69 6e 67 | usage..|.\beging|
|00003c00| 72 6f 75 70 20 5c 73 6c | 0a 48 65 72 65 20 74 68 |roup \sl|.Here th|
|00003c10| 65 20 74 69 74 6c 65 2c | 20 74 68 65 20 73 65 63 |e title,| the sec|
|00003c20| 74 69 6f 6e 20 61 6e 64 | 20 74 68 65 20 70 61 67 |tion and| the pag|
|00003c30| 65 20 6e 75 6d 62 65 72 | 20 73 68 6f 75 6c 64 20 |e number| should |
|00003c40| 62 65 20 77 72 69 74 74 | 65 6e 20 74 6f 0a 61 6e |be writt|en to.an|
|00003c50| 20 61 75 78 69 6c 69 61 | 72 79 20 66 69 6c 65 20 | auxilia|ry file |
|00003c60| 73 6f 20 74 68 61 74 20 | 61 20 74 61 62 6c 65 20 |so that |a table |
|00003c70| 6f 66 20 63 6f 6e 74 65 | 6e 74 73 20 63 6f 75 6c |of conte|nts coul|
|00003c80| 64 20 62 65 20 63 72 65 | 61 74 65 64 20 61 74 20 |d be cre|ated at |
|00003c90| 74 68 65 0a 65 6e 64 20 | 6f 66 20 74 68 65 20 72 |the.end |of the r|
|00003ca0| 75 6e 20 28 61 74 20 7c | 5c 62 79 65 7c 29 2c 20 |un (at ||\bye|), |
|00003cb0| 61 6e 64 20 74 68 65 20 | 64 65 61 6c 69 6e 67 20 |and the |dealing |
|00003cc0| 77 69 74 68 20 7c 5c 65 | 76 65 72 79 70 61 72 7c |with |\e|verypar||
|00003cd0| 20 73 68 6f 75 6c 64 0a | 6e 6f 74 20 62 65 20 73 | should.|not be s|
|00003ce0| 6f 20 63 72 75 65 6c 2e | 0a 5c 65 6e 64 67 72 6f |o cruel.|.\endgro|
|00003cf0| 75 70 0a 0a 5c 62 65 67 | 69 6e 70 72 6f 67 0a 5c |up..\beg|inprog.\|
|00003d00| 64 65 66 5c 63 68 61 70 | 23 31 2e 7b 25 0a 20 20 |def\chap|#1.{%. |
|00003d10| 20 5c 65 6e 64 67 72 61 | 66 0a 20 20 20 5c 76 66 | \endgra|f. \vf|
|00003d20| 69 6c 6c 5c 65 6a 65 63 | 74 0a 20 20 20 5c 6e 6f |ill\ejec|t. \no|
|00003d30| 69 6e 64 65 6e 74 20 7b | 5c 62 66 20 5c 6e 75 6d |indent {|\bf \num|
|00003d40| 62 65 72 5c 73 65 63 74 | 6e 6f 2e 5c 71 75 61 64 |ber\sect|no.\quad|
|00003d50| 20 23 31 2e 7d 25 0a 20 | 20 20 5c 61 64 76 61 6e | #1.}%. | \advan|
|00003d60| 63 65 20 5c 73 65 63 74 | 6e 6f 5c 40 6e 65 0a 20 |ce \sect|no\@ne. |
|00003d70| 20 20 5c 65 6e 64 67 72 | 61 66 0a 20 20 20 5c 6d | \endgr|af. \m|
|00003d80| 65 64 73 6b 69 70 20 20 | 5c 6e 6f 62 72 65 61 6b |edskip |\nobreak|
|00003d90| 0a 20 20 20 5c 65 76 65 | 72 79 70 61 72 7b 25 0a |. \eve|rypar{%.|
|00003da0| 20 20 20 20 20 20 5c 73 | 65 74 62 6f 78 30 5c 6c | \s|etbox0\l|
|00003db0| 61 73 74 62 6f 78 0a 20 | 20 20 20 20 20 5c 67 6c |astbox. | \gl|
|00003dc0| 6f 62 61 6c 5c 65 76 65 | 72 79 70 61 72 7b 7d 25 |obal\eve|rypar{}%|
|00003dd0| 0a 20 20 20 20 20 20 7d | 25 0a 20 20 20 7d 0a 5c |. }|%. }.\|
|00003de0| 65 6e 64 70 72 6f 67 0a | 0a 0a 5c 73 65 63 74 20 |endprog.|..\sect |
|00003df0| 4e 6f 72 6d 61 6c 20 73 | 65 63 74 69 6f 6e 73 20 |Normal s|ections |
|00003e00| 61 72 65 20 73 74 61 72 | 74 65 64 20 77 69 74 68 |are star|ted with|
|00003e10| 20 7c 5c 73 65 63 74 7c | 2e 20 20 54 68 69 73 20 | |\sect||. This |
|00003e20| 6d 61 63 72 6f 20 68 61 | 73 20 6e 6f 0a 70 61 72 |macro ha|s no.par|
|00003e30| 61 6d 65 74 65 72 2e 20 | 20 42 65 74 77 65 65 6e |ameter. | Between|
|00003e40| 20 74 77 6f 20 70 61 72 | 61 67 72 61 70 68 73 20 | two par|agraphs |
|00003e50| 77 65 20 73 65 74 20 32 | 7e 70 69 63 61 20 73 70 |we set 2|~pica sp|
|00003e60| 61 63 65 20 28 69 66 20 | 70 6f 73 73 69 62 6c 65 |ace (if |possible|
|00003e70| 29 0a 61 6e 64 20 70 72 | 65 66 65 72 20 74 68 65 |).and pr|efer the|
|00003e80| 20 70 61 67 65 20 62 72 | 65 61 6b 69 6e 67 2e 20 | page br|eaking. |
|00003e90| 20 42 65 74 77 65 65 6e | 20 74 68 65 20 73 65 63 | Between| the sec|
|00003ea0| 74 69 6f 6e 20 6e 75 6d | 62 65 72 20 61 6e 64 20 |tion num|ber and |
|00003eb0| 74 68 65 20 74 65 78 74 | 0a 6f 6e 65 20 71 75 61 |the text|.one qua|
|00003ec0| 64 20 6f 66 20 73 70 61 | 63 65 20 69 73 20 73 65 |d of spa|ce is se|
|00003ed0| 74 2e 0a 0a 5c 62 65 67 | 69 6e 67 72 6f 75 70 20 |t...\beg|ingroup |
|00003ee0| 5c 73 6c 0a 54 68 65 20 | 70 61 67 65 20 62 72 65 |\sl.The |page bre|
|00003ef0| 61 6b 20 6d 61 6e 69 70 | 75 6c 61 74 69 6f 6e 20 |ak manip|ulation |
|00003f00| 63 6f 75 6c 64 20 62 65 | 20 6d 6f 72 65 20 73 6f |could be| more so|
|00003f10| 70 68 69 73 74 69 63 61 | 74 65 64 2e 0a 5c 65 6e |phistica|ted..\en|
|00003f20| 64 67 72 6f 75 70 0a 0a | 5c 62 65 67 69 6e 70 72 |dgroup..|\beginpr|
|00003f30| 6f 67 0a 5c 64 65 66 5c | 73 65 63 74 7b 25 0a 20 |og.\def\|sect{%. |
|00003f40| 20 20 5c 65 6e 64 67 72 | 61 66 0a 20 20 20 5c 76 | \endgr|af. \v|
|00003f50| 73 6b 69 70 20 32 70 63 | 20 70 6c 75 73 20 31 70 |skip 2pc| plus 1p|
|00003f60| 63 20 6d 69 6e 75 73 20 | 36 64 64 20 20 5c 67 6f |c minus |6dd \go|
|00003f70| 6f 64 62 72 65 61 6b 0a | 20 20 20 5c 6e 6f 69 6e |odbreak.| \noin|
|00003f80| 64 65 6e 74 20 7b 5c 62 | 66 20 5c 6e 75 6d 62 65 |dent {\b|f \numbe|
|00003f90| 72 5c 73 65 63 74 6e 6f | 2e 7d 5c 61 64 76 61 6e |r\sectno|.}\advan|
|00003fa0| 63 65 20 5c 73 65 63 74 | 6e 6f 5c 40 6e 65 0a 20 |ce \sect|no\@ne. |
|00003fb0| 20 20 5c 71 75 61 64 20 | 5c 69 67 6e 6f 72 65 73 | \quad |\ignores|
|00003fc0| 70 61 63 65 73 0a 20 20 | 20 7d 0a 5c 65 6e 64 70 |paces. | }.\endp|
|00003fd0| 72 6f 67 0a 0a 0a 5c 73 | 65 63 74 20 57 65 20 61 |rog...\s|ect We a|
|00003fe0| 72 65 20 66 69 6e 69 73 | 68 65 64 20 61 6e 64 20 |re finis|hed and |
|00003ff0| 6a 75 73 74 20 68 61 76 | 65 20 74 6f 20 72 65 73 |just hav|e to res|
|00004000| 74 6f 72 65 20 74 68 65 | 20 63 61 74 65 67 6f 72 |tore the| categor|
|00004010| 79 20 63 6f 64 65 73 2e | 0a 0a 5c 62 65 67 69 6e |y codes.|..\begin|
|00004020| 70 72 6f 67 0a 5c 63 61 | 74 63 6f 64 65 60 5c 40 |prog.\ca|tcode`\@|
|00004030| 3d 5c 61 74 63 6f 64 65 | 0a 5c 63 61 74 63 6f 64 |=\atcode|.\catcod|
|00004040| 65 60 5c 5f 3d 5c 75 73 | 63 6f 64 65 0a 0a 5c 65 |e`\_=\us|code..\e|
|00004050| 6e 64 69 6e 70 75 74 0a | 5c 65 6e 64 70 72 6f 67 |ndinput.|\endprog|
|00004060| 0a 0a 0a 0a 0a 0a 5c 62 | 79 65 0a 0a |......\b|ye.. |
+--------+-------------------------+-------------------------+--------+--------+